How does ng include work?
Also, how do NG models work?
The ng-model attribute is used for, Binding controls such as input, text area and selects in the view into the model. The ng-model attribute maintains the state of the control (By state, we mean that the control and the data is bound to be always kept in sync.
Furthermore, what does ng init do?
Ng-init directive is used to initialize a variable, which will allows evaluating an expression in given scope. According to angular official document, this directive is abused as it adds unnecessary business logic in the application.
The ng-transclude is a directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion. The template we pass in to the directive will replace the element with ng-transclude directive.