Top "Angularjs-scope" questions

In AngularJS, a scope is an object that refers to the application model.

AngularJS: open a new browser window, yet still retain scope and controller, and services

I'm writing an angularJS app. In this particular controller, I open a new browser window through the $window.open service. …

javascript angularjs angularjs-scope angularjs-service angularjs-controller
AngularJS : broadcast event from directive

I've seen people doing this from wherever in their code: $rootScope.$broadcast('someEvent', someParameter); and then in some controller: $rootScope.$…

angularjs angularjs-scope
AngularJS : ng-include and ng-controller

I have an app which I am building with angular, I have about 8-10 views to build out. All the …

javascript angularjs angularjs-scope angularjs-ng-include
Binding inputs to an array of primitives using ngRepeat => uneditable inputs

Here is a demo to my problem. $scope.myNumbers = [10, 20, 30]; <div ng-repeat="num in myNumbers">     <input type="text" …

angularjs angularjs-scope angularjs-ng-repeat
Alternative to $scope in Angular 2.0

In Angular 2.0, there will be no $scope. What is the alternative to that? How will I be able share data …

angular angularjs-scope
Angularjs Uncaught Error: [$injector:modulerr] when migrating to V1.3

I am learning Angular.js and I am not able to figure out whats wrong with this simple code. It …

javascript angularjs angularjs-scope angularjs-service angularjs-controller
AngularJS: $scope.array.push() does not update the view, even with $apply

I'm trying to learn AngularJS and there is this thing that I don't understand, which seems like all the internet …

angularjs angularjs-scope angularjs-ng-repeat angularjs-controller
AngularJS 1.5+ Components do not support Watchers, what is the work around?

I've been upgrading my custom directives to the new component architecture. I've read that components do not support watchers. Is …

angularjs angularjs-directive angularjs-scope angularjs-components angularjs-1.5
Directive isolate scope with ng-repeat scope in AngularJS

I have a directive with an isolate-scope (so that I can reuse the directive in other places), and when I …

angularjs angularjs-directive angularjs-scope angularjs-ng-repeat
The correct way to inject an angular controller dependency inside an angular.ui modal

following angular.ui Modal example shows the modalInstance calling a ModalIntanceCtrl which is later created as a function: var ModalDemoCtrl = …

angularjs angularjs-scope