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
0
votes
0answers
9 views
res.render('index.html', {layout : null}) generating error
following demo project Here and blog post Here.
He is using jade engine which I don't want to use instead using Angularjs templating and routing.
Root folder is
client > js (contain all js ...
0
votes
0answers
5 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
9 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
15 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
0answers
12 views
quering for objects with angularFireCollection?
I used the implicit method for retrieving data objects, till my app grew a bit bigger and the two-way binding became a big mess. So I turned back to explicit and right there I discovered why I chose ...
0
votes
0answers
9 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
0answers
9 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
22 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>
...
0
votes
1answer
32 views
How can I turn this into an AngularJs Directive?
I have a select list that I am populating with ng-options. It also has a "default" selected item that kind of acts like a "placeholder" since lists don't have an actual "placeholder" attribute.
...
2
votes
2answers
61 views
How to parse date time in JavaScript
I have Date in this format mm/dd/yy example: 04/11/13
and time in the format HH:MM:SS example: 17:02:30
I have to parse above two values and put in a variable dateTime with following format
...
0
votes
1answer
17 views
Angular and CSS Transitions
I am new to Angular and I've learned quite a bit in the last few weeks, however I have several questions. So currently I have a jQuery prototype that I would like to convert to use Angular.js. For any ...
1
vote
1answer
11 views
AngularJS - Unwatching auto bound values within curly braces
Is there a built-in method to AngularJS to remove the automatically created watch on a value inserted into a template via curly braces.
For example:
<span>{{someVal}}</span>
In my ...
0
votes
2answers
22 views
Passing function arguments to $scope.$apply?
I'm using $scope.$apply for callbacks, specifically with Stripe. Currently I have some code like
var stripeCallback = function (status, response) {
if (!response.error) {
// do something
...
0
votes
1answer
16 views
Date format in Angularjs
I have simple date object made in JS and I don't know why AngularJS can't bind it to the input control(Probably the problem is the format of date) but please explain me it. The sample problem occurs ...
4
votes
1answer
35 views
ng-class is called too many times
I am quite new to AngularJS and I'm developing a full featured audio player à la Google Music. I have a Player service that deals with all the playing, queueing, etc. I have an infinite scrolling ...