Tagged Questions
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
4 views
Permance issue :Angular JS showing script in html page
When I call a rest service then i will get .html file from server. But it showing scripts for 1 or 2 seconds. Then it shows correct values.My problem is page loads first then controller binds data. Is ...
0
votes
0answers
3 views
call function inside $sce.trustAsHtml() string in Angular js
I am developing an app using Angularjs and adding HTML using $sce.trustAsHtml() in my page. I want to call a function in above dynamically added content. My html and script as below.
HTML
<div ...
0
votes
0answers
4 views
Directive requiring a parent
I need a directive ngTree to get the controller of a parent ngTree element. Note that require: "^ngTree" would return the controller of current directive.
I know I could do a ngTreeHelper and put a ...
0
votes
0answers
5 views
Receive an event on direct page visit from address bar, Angular JS - ui-router
guys I am working on an angular js app which uses ui-router for deep linking and routing. I want to set up a variable on the $rootScope every time a state is visited/changed. I am able to accomplish ...
0
votes
0answers
5 views
angular-ui router reload view
I'm using angular-ui's router (v0.2.0) in a project and we're trying to reload a view. I've tried $state.transitionTo and also $state.go, but neither seem to do anything. Would anyone know how to do ...
1
vote
0answers
14 views
How to bring ng-table inside tab?
I've trouble having to implement the ng-table inside tab. I'm using ng-include to include the template into tab which contains ng-table attrubutes. When changing tab to tab ng-table not working?
When ...
1
vote
1answer
20 views
Placing limit on API calls based on DOM
I'm trying to limit the number of API calls I am making if I already have enough elements on the DOM.
But it seems in between the promises and the actual insertion, my check isn't being triggered in ...
1
vote
1answer
9 views
angularjs losing decimal & negative vals ignored
I've got a short form where the values need to be totaled so I can do math with them. For whatever reason, values set via input-radio turn the numbers into strings, and the only way I can find for ...
1
vote
1answer
26 views
Pattern for sharing a library between angularjs and node.js
How can I share a library between angularjs and node.js?
For example an angularjs service is often a reusable piece of code. Let's take a URL library as an example (pick apart and construct URLs).
...
0
votes
2answers
15 views
AngularJS - $resource callback with saved value
I've just started using AngularJS and I love it.
However - I have a need to save an item to my database using $resource and then get back and object containing the values of the newly created item ...
0
votes
1answer
19 views
Serve a Flask app on a sub-url during localhost development
I have a Flask app as backend that serves a REST API and an AngularJS front-end app.
I use Grunt/Livereload to serve the front-end at the address: http://localhost:5000/
Is it possible to serve the ...
0
votes
1answer
20 views
Localizing routes in Angular
I am trying to create an Angular app in multiple languages but I have come across and issue with the routing. I found a workaround to make the necessary routes valid for 2 languages :
var app = ...
0
votes
1answer
18 views
AngularJS adding inputs that represent an array model
Simple AngularJS questions that I can't get my head around.
Plunkr: http://plnkr.co/edit/OjaooVOQBEETkhaZFbWG?p=preview
HTML;
<div ng-repeat="label in likedLabels">
<input ...
0
votes
1answer
11 views
Can providers be configured later then app config time?
Is it possible to configure a provider at any give time or they can be only configured at app config time?
Thanks.
0
votes
0answers
22 views
angular $scope data will not changed
My problem is that I have a $scope.page on to different controllers under the same module.
the $scope.page data should change for each route.
I'm trying to understand this...
some code:
...