Top "Angularjs-scope" questions

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

AngularJS - accessing ng-click in custom directive

I'm trying to get my head around directives, i can easily use the template function to throw out my HTML, …

angularjs angularjs-directive angularjs-scope angularjs-ng-click
$filter is not a function AngularJS

app.controller('myController', ['$scope', '$http', '$filter', function($scope, $http, $filter) { The above is an example of my …

javascript angularjs angularjs-scope angularjs-filter angularjs-http
angular.js $destroy event - should I manually unbind?

I'm trying to figure out if angular base automatically unbinds watchers and scope events bound with $scope.$on(...) or $scope.$…

javascript angularjs angularjs-scope
Custom child directive accessing scope of parent

I am having two custom directives in my angularJS app. One act as a parent and other act as child. …

javascript angularjs angularjs-directive angularjs-scope
AngularJS ng-grid - Dynamically updating the columns and results

I am newbie in ng-grid. How do we dynamically update the columns and results inside the grid. I have created …

javascript angularjs angularjs-scope ng-grid
Confused about Angularjs transcluded and isolate scopes & bindings

I am struggling to understand the scope of models and their bindings in respect of directives which have limited scope. …

angularjs angularjs-directive angularjs-scope
AngularJS : transcluding multiple sub elements in a single Angular directive

I am Fairly new to Angular but have been reading quite a lot. I was reading about ng-transclude at http://…

angularjs angularjs-directive angularjs-scope
AngularJS, is this way of using service good?

i've this HTML: <p>Hello {{name}}</p> and the controller is: function myCtrl(scope, service) { scope.…

javascript angularjs angularjs-scope angularjs-service
add a custom function on angular $resource

I have an angular resource that goes something like this app.factory('User', function ($resource) { return $resource( '/api/user/:…

javascript angularjs angularjs-scope angularjs-resource
angularjs - copy common properties from one object to another

I have a controller like this: CheckoutController = function() { $scope.Profile = { firstname : 'Ruchir', middlename : 'Shakun', lastname : 'Gupta', email : '[email protected]', …

javascript angularjs angularjs-directive angularjs-scope angularjs-service