AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Controller (MVC) capability, reduce the amount of JavaScript needed to make web applications functional. These type of apps are also known as Single-Page Applications.

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

Angular ui-map (google map) hidden with ng-if does not add markers

I hide the map-element initially using ng-if. When the ng-if evaluates to true I cannot add markers to the map. This works fine when I show the map-element directly (without the ng-if). HTML: ...
0
votes
1answer
12 views

angularjs $rootScope.watch not working

I am new to angularjs. I am trying to learn $watch property . Here is my plunker. rootScope.$watch property is executing on page load only and not on text change event. But it works properly with ...
0
votes
0answers
5 views

How to filter data in ng-grid on the basis of date range

Using $scope.gridOptions.filterOptions.filterText i am able to filter my data. For example to filter on the basis of Destination Country, i am setting the filterText as: ...
0
votes
0answers
5 views

AngularJS: input's value is empty in Chrome (when using autofill)

I trying to rewrite existing auth form in AngularJS and I found a problem. If I use <input type="text" name="login" ng-model="user.login"> <input type="text" name="password" ...
0
votes
0answers
6 views

Angularjs: update location without triggering route

I'm creating an image gallery that loads a specific image if it is specified in the route (else loads the first): foo/photos/sports/2 Each thumbnail is wrapped in a link to cause the address to ...
0
votes
0answers
9 views

Recieve data from json file and submit to show on console with Angular

I tried to recieve json file then edit somedata and save only i checked to new json file <div ng-controller="AppController"> <form role="form" class="container"> <div ...
0
votes
0answers
5 views

How to create a directive in Angular JS for a Morris JS graph

I am trying to create a graph using Morris JS by creating an Angular JS directive. My directive code is: Reporting.directive('morrisLine', function(){ return { restrict: 'EA', template: ...
0
votes
0answers
9 views

How access values in $$V array in angularjs

I am having difficulty parsing an array being returned by factory in Angular.js. I can see the array in console.log, but it shows that it is labeled as $$v with the correct values. ...
0
votes
0answers
14 views

Angularjs - stop event propogation and emit with different value

I'm Working an hierarchical structure with directives. I came across a weird thing when trying to catch an event from a child directive, amend it, and re-emit it to my parents. Example here (Warning ...
1
vote
0answers
11 views

How can I create an angular JS service that isn't a singleton?

Because every service is a singleton. & calling $injector.get() still gives me the same instance everytime. How can I use multiple instances of a service inside another service? Keeping in mind ...
0
votes
0answers
7 views

Translated form validation in AngularJS

What's the easiest way of changing the default error messages in form validation provided by Angular to another language?
0
votes
2answers
29 views

what is the difference between ng:click and ng-click?

I can't find any documentation on ng:click. My todo list application does not work unless I use ng:click as opposed to ng-click, yet I can't find any documentation on it. Is it the same as ...
0
votes
0answers
10 views

Error: [$resource:badcfg] Error in resource configuration. Expected response to contain an array but got an object

I am a complete noob with respect to angular, just going through a codeschool tutorial and I've hit my first hurdle. I am getting Error: [$resource:badcfg] Error in resource configuration. Expected ...
0
votes
1answer
29 views

How to manually get an instance of a dependency in angular js?

I have an object reportsService, which for each call it make's, it initialises a new object called serviceCall. Each method needs to instantiate it's own instance of serviceCall. Is using ...
0
votes
1answer
24 views

ng-repeat with fadetoggle jquery

I have many form in my angular app like this <form ng-submit="" ng-repeat="app in apps"> <div class="container"> <div id="single-app" > <div ...

15 30 50 per page