Top "Angularjs-scope" questions

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

How do I $watch the Angular-ui's new ui-select (former ui-select2) search string changes?

I noticed that the Angular-UI have discontinued their UI-Select2 directive in favor of the new UI-Select (with multiple themes - …

angularjs angularjs-directive angularjs-scope angular-ui ui-select2
AngularJS: Using $compile on html that contains directives with templateurl

I have a legacy application that has some content inserted into the DOM via jQuery. I would like the legacy …

javascript jquery angularjs angularjs-scope angular-directive
AngularJS: how to bind a constant object to a directive

I've created a directive with a binding using "scope". In some cases, I want to bind a constant object. For …

javascript angularjs angularjs-directive angularjs-scope angularjs-controller
ng-click on firing on mobile or tablet devices

On page load i have a controller that calls a service and then binds the returned data to some $scope.…

angularjs data-binding angularjs-scope angularjs-ng-click
Angularjs $broadcast once, $on twice

It sends $broadcast once from the rootScope, but the listener ($on) gets called twice. The listener is in a controller …

javascript angularjs angularjs-scope event-listener angular-broadcast
Enable/Disable button by selected value in drop down list using AngularJS

I have one button called test and one drop-down menu with three values. How to enable-disable Test button according to …

html angularjs angularjs-directive angularjs-scope ng-controller
How to handle $ctrl. in AngularJS?

I have a Methode from an API. It returns a promise which resolves to an $ctrl(?) object. This objects should …

html angularjs angularjs-scope angularjs-components cumulocity
Calculating date difference with angular filter

I needed to be able to calculate the difference between two days, inclusive, and display the difference. Ideally this would …

javascript angularjs angularjs-scope angular-filters
AngularJS 1.5 - How to Set Two Way Bindings on Component

Directives in Angular 1.X are set to have two way binding by default. Components have isolated scopes by default. I …

angularjs angularjs-scope angular-components
AngularJS Bind service array variable to controller scope

I have been able to properly bind an object with primitive data from a service to a scope variable from …

javascript angularjs asp.net-web-api angularjs-scope angularjs-service