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
2 views
Using Angularjs $save method with .Net Web Api
I am using Angularjs $Resource $save CRUD method to submit data to RESTFull .Net Web API webservice:
phone.$save({}, function (data) {
alert('success');
}, function (data) {
...
0
votes
0answers
4 views
What backend can I use to setup breeze properly on a mac?
I would like to develop an AngularJS app with Breeze. I usually use NodeJS with Express but I hear it wont work with Breeze. All the example on breezejs.com use ASP.Net but i am on a mac and you can't ...
0
votes
0answers
7 views
I cannot add items in an array using the setTimeout function
I'm trying to update the ui by pushing a new entry into an array but for some reason the ui is not updated until the next operation on the array.
function TestCtrl($scope){
$scope.projects = ...
0
votes
0answers
26 views
Angular.js Partials
I'm making a really simple website and was curious how I can modularize the content sections of the body while leaving the static portions of the site alone. I figured using partials would be the key ...
1
vote
1answer
17 views
How can I programmatically/dynamically change the view?
I'd like to have a "wizard" of sorts where the screen changes a few times during the process. I'd like to utiilze Angular's controllers for this. I can't however, figure out how to change the view ...
2
votes
2answers
26 views
How can I start fetching data from the server as quickly as possible?
How can I start fetching data from the server as quickly as possible with Angular?
Currently, most of my page is populated asynchronously via a directive "fooload" placed at the root element:
...
0
votes
1answer
11 views
Limit Angular UI-Bootstrap Typeahead to specific object property
I have the following Angular UI-Bootstrap typeahead working great:
<input class="span2" type="text" ng-model="selectedStuff" typeahead="stuff as stuff.name for stuff in stuffs | ...
1
vote
0answers
30 views
Angular make a resquest after a response server
I'm trying make a server call after a response server like this
$http.post($scope.serviceSave, {
'person': $scope.person
}).success(function(data){
...
0
votes
1answer
25 views
angularjs + jsonp returns a fail
I am trying to build a sample app that will grab data using JSONP to populate. I have it put up at http://angular.onagrag.com/ and clicking on register.
The file I am trying to load is at ...
-1
votes
0answers
13 views
Angular.js (ng-scope) not Properly Nesting HTML5 Elements and Breaking Styles
Using ng-scope kills styling for all nested HTML5 elements. All the tags are being rendered <:section> and the styling is not being applied. Any thoughts?
0
votes
0answers
19 views
Hypermedia API client relation management
I'm in the process of building out a single page web app using AngularJS. I have some general questions about how to handle certain interactions, because its blowing my mind and want to get some ...
0
votes
1answer
33 views
Change div content dynamically on other div click (AngularJS)
So, I'm new to AngularJS and I'm trying to change a div content after another is clicked (this one holds a div with the content that I want to put on the first one).
HTML
<div ...
0
votes
1answer
11 views
AngularJS getting $event from a directive
Seems pretty simple, but I can't get $event to bubble up from my directive. When test gets called from cb-click, $event is undefined, but outside of a directive (via html), it's the event object.
If ...
0
votes
1answer
11 views
angular filtering decode characters
in angular, if
$scope.myStr = '™';
{{myStr}} yields '$trade;' instead of the TM mark, how would I solve this issue using a filter?
and in some cases, $amp;trade; also appears, so I ...
1
vote
2answers
35 views
Conditionally add table elements in Angularjs
I have some json to render in a table which looks like;
[{"title":"Super Event","date":"Mon 12 June"},
{"title":"Another Event","date":"Tue 13 June"},
{"title":"Something Else","date":"Tue 13 ...