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
8 views
Can I run code in click handlers that have their buttons dynamically injected into the DOM with AngularJS?
My full code is at:
http://plnkr.co/edit/6EQFXL?p=preview
The "delete row" and "delete column" buttons are dynamically created. Right now when I click on them nothing happens. How can I get them to ...
0
votes
0answers
6 views
Defining multi layer dependencies using require.js
I am creating a small web framework using AngularJS, Bootstrap and Jquery. I will be adding several reusable angular directives in this framework. This framework will be used by several other web ...
0
votes
1answer
11 views
First update ignored when updating modle asynchronously in AngularJS ng-click handler
This is how I intend my application to work:
When a button get clicked, an HTTP request is sent to get more items, and the returned item
array will be appended to existing ones in the model.
So I ...
1
vote
1answer
17 views
How to get hold of template html in directive
I'm trying to create a simple time picker directive. http://plnkr.co/edit/VYGqhPbHf1yqXLpemGEP
When user click on input field I want to display the content of my template html as a dropdown below the ...
0
votes
1answer
12 views
In angular why are class and comment directives not bound?
Plunker: http://plnkr.co/edit/XBJjr6uR1rMAg3Ng7DiJ?p=preview
I would expect these two to look the same:
<span dt-attrib="{{person.name}}">This won't be here</span><br/>
<span ...
1
vote
1answer
23 views
How do I escape curly braces for display on page when using AngularJS?
How do I display curly braces in my html without angular replacing them with a value? I want to actually see the curly braces on the page. I thought this might work, but angular still replaces it ...
0
votes
0answers
29 views
Best approach to generate a third-app party file preview in Google Drive?
Google Drive team has recently announced that third-party Drive app can provide their own thumbnail as a file preview ...
0
votes
0answers
11 views
Angular ui calendar will not load from injected controller
I'm using AngularJS and requireJS and I'm using this seed template to help me to get Angular to place nicely with requireJS which can be found here LINK
At the moment I'm trying to integrate ...
0
votes
1answer
14 views
AngularJS: Resource not sending parameters with undefined vars
I currently have a basic form setup with a controller, and when the user submits the form, this function is ran:
$scope.create = function(email, username, password) {
MyService.get({
action: ...
2
votes
3answers
34 views
AngularJs First in array after Filter
In my controller I can call:
$scope.list[0];
To access the first item in my array. Is there a way to do this keeping Filters in mind.
For example I have:
filter:search
On my repeat, how can I ...
1
vote
2answers
15 views
Access Parent Scope in Transcluded Directive
I would like to access a parent directive's scope, but I can't seem to get the right combination of settings. Is this possible and is it the right approach?
I really want to avoid putting something ...
0
votes
1answer
16 views
Not getting updated values after call to AngularJS $save
Folks,
I am using AngularJS and angular-resource to perform a pretty simple REST API call. Here is my JavaScript code for a page that lists (and creates) messages:
(function() {
'use strict';
var ...
1
vote
1answer
23 views
How to use Restangular when the service for a collection returns a dictionary instead of an array?
I'm in the early phases of the development of a client app to an existing REST service and I'm trying to decide what to use for server communication. So far I'm loving Restangular documentation, it ...
0
votes
1answer
20 views
Angular.js routes and partials for complex navigation?
I'm trying to build a fairly sophisticated navigation menu with angular.js. It's going to be very similar to the main drawer navigation here: ...
0
votes
2answers
25 views
Linking to an AngularJS site not at root
I have built a site in angular. Everything works great. IF I go to localhost it brings up the homepage just fine. I can click on a link and it will take me there just fine, but if I refresh the page ...