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)

1
vote
1answer
11 views

Creating private function inside directive

Is it possible to create a private function inside a directive? I need to do a rather complex process inside a directive to fill the directive's template. Something like this (HTML): <textarea ...
0
votes
0answers
34 views

AngularJS - Why can't my expression access my model

I have validated all of the JSON objects & they have been successfully added to the VoteCtrl's $scope (see right). From what I can tell my expressions should select the desired data out of my JSON ...
0
votes
0answers
28 views

How to work with select input with data coming from a simple relational db model

I'm using Angularjs plugged into a API which retrieves data from a mysqlk normal relational db. Let's say I have this simple data model in my bdd: table car: id, type_id table type: id, ...
1
vote
2answers
24 views

How can I dynamically set the background-image on each DIV using ngRepeat and ngClass?

I would like to be able to set the background-image property of each div that is created during ng-repeat. I tried to use ng-class to add the appropriate class to the appropriate div in the ...
0
votes
1answer
21 views

AngularJS intercept all $http requests

I can't seem to get the $httpProvider.interceptors to actually intercept. I created a sample on JSFiddle that logs when the interceptor is run and when the $http response is successful. The request ...
0
votes
1answer
23 views

Overriding default behaviour for img and a with AngularJS directives

I'm currently trying to write a custom directive for <a> and <img>. I have some test code where I want to see to get the src of an image. However, the code below does not seem to fire when ...
-1
votes
0answers
17 views

Breadcrumbs in Angular

I want to use Angular's breadcrumb capability. I added this javascript file to my services folder. I added a div to my header.html file to call the javascript. According to Angular, the div should ...
0
votes
1answer
12 views

fullcalendar not visible until button is clicked or window resized?

I'm using jquery full calendar with angularJS and angularstrap. The problem it seems is that the calendar will only display when I either click on one of the buttons in the calendar or resize the ...
-1
votes
1answer
13 views

Select2 and Angular - query function not defined

I am using Select2 with its angular interface for a select form like <select ui-select2 ng-model='thing' data-placeholder='Options' id='form1> <option value=''></Option> ...
0
votes
0answers
26 views

Modifying a Shared Variable Between Multiple AngularJS Directives

I have created this jsfiddle: http://jsfiddle.net/noahgoodrich/CDwfL/1/ I have created a set of directives to manage and manipulate navigational tabs. For some reason, when I try to close a tab, it ...
1
vote
2answers
21 views

Jade lang in a regular web app without node

Is it possible to use Jade in a regular web app without running on Node js? The question may sound crazy as Jade engine is written in node but wanted to find out if it can can be used oustide of ...
0
votes
1answer
27 views

quering for objects with angularFireCollection?

I used the implicit method for retrieving data objects: setData = function(segment){ var url = 'https://myFireBase.firebaseio.com/'; var rawData = angularFire(url+segment,$rootScope,'data',{}); ...
0
votes
0answers
13 views

PhoneGap + MongoLab security

I'm thinking of using AngularJS + PhoneGap + MongoLab. I'm using the example found here under "Wire up a Backend". How does the security work ? I'm seeing "apiKey" hardcoded. Is it possible for a ...
0
votes
1answer
14 views

Angular Bootstrap UI pagination: Can the page number be customize?

Wanted to know if there is a way to customize the numbers displayed in the pagination UI. The reason is that if I haa a large number of pages, I would like to change the page number to have a "...". ...
0
votes
1answer
24 views

Generic looping directive, does one exist?

We have some data that looks like this: [{id: 1, link: "foo"}, {id: 2, link: "bar"}, ..., {id:n, link:"nth"}] And we want to generate some output like this: <ul> <li>id is: 1</li> ...

1 2 3 4 5 446
15 30 50 per page