ngIf The ngIf removes the HTML element if the expression evaluates to false. If the expression evaluates to true, a copy of element is added in the
ngIf The ngIf removes the HTML element if the expression evaluates to false. If the expression evaluates to true, a copy of element is added in the
In AngularJS, Scope works as a glue between controller and model. While working with directive you can use scope attribute and it can be true,
$watch returns a de-registration function. Calling it would de-register the $watcher. var myVariableWatchObj = $scope.$watch(“myWatchAttribute”, function () { // code to perform }); //.. Calling function as
While working as a AngularJS developer, You should aware about different ways to inject DI into AngularJS Application, Controller, Service and Factory. Passing a dependency
angular.copy will create a deep copy of an object or an array. We can use this when we want to make sure that whatever changes