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
Switching data models in AngularJS for dynamic select menus
What I am trying to do is have three different <select> menus which will be all be tied into the same data. Changing the first select menu, will change menus 2 and 3's data.
This is the inside ...
0
votes
0answers
5 views
angular $cookies is not working IE 8
This is sample code example of $cookie, here this is code is working in all browsers except IE8.can any one please help me out this issue.
function ExampleController($cookies) {
// Retrieving a ...
1
vote
0answers
3 views
Create an AngularJS directive that does not immediately render?
I have a simple AngularJS directive with a templateUrl. The directive is for a tooltip.
Currently I append a hidden element. However the directive is used very frequently, so hundreds of data ...
0
votes
0answers
3 views
Change AngularJS select options by selected value in other select
I have two select boxes in page. I need change availible options in second select when selected value in first select changes. In my fiddle is way how everythink works fine in normal browsers (chrome, ...
0
votes
2answers
35 views
Unset object property
I have a provider:
AdviceList.provider('$adviceList',function(){
this.$get = function ($rootScope,$document,$compile,$http,$purr){
function AdviceList(){
...
0
votes
0answers
12 views
Is there a some way that I can show a “waiting” indicator when using angular-ui or angular-uibootstrap?
I have some code in my application that goes to fetch data from the server. My application is now one big SPA.
Has anyone looked into a way that a "waiting" indicator can be displayed if for example ...
1
vote
0answers
6 views
Custom validation directive with isolated scope in angularjs?
Take a look at the following JSFiddle: http://jsfiddle.net/AaQtz/21/. As you can see, the custom validation runs and when the value is considered valid it is updated in the model.
However, when I add ...
3
votes
1answer
21 views
How to remove index.html from url on website based on angularjs
I didn't find a way to remove index.html from the url, because like this looks really ugly.
mydomain.com/index.html#/myview1
mydomain.com/index.html#/myview2
Is there a way to remove that part, ...
0
votes
3answers
8 views
How can I hide the display of a page until the ng-include elements are available?
I am using the following code block:
<section id="content">
<div class="block-border">
<div data-ng-controller="AdminGridContentController">
<ng-include ...
0
votes
1answer
8 views
How does AngularJS controller handle the res.json(false) value?
I have an AngularJS controller that makes an HTTP get request to an API. The API can either return a res.json(true) or a res.json(false) value based on some condition.
However, the controller seems ...
1
vote
0answers
7 views
Data binding inside <option> element in angular.js and jQuery mobile
I have recently added a multi-language support to my jQuery-mobile/PhoneGap app using this great repo on gitHub.
It uses firebase and angular.js to bind all the language dependant labels and texts in ...
0
votes
1answer
13 views
Angular js dynamic tags in template
var template ='<div id="'+'inst'+id+'" ng-click="setCurrentId('+id+')" >'+
'< {{$scope.somevariable}} data-role="listview" >'+
'<li><a ...
-6
votes
0answers
35 views
Compare knockoutjs, angularjs, backbonejs, canjs [on hold]
which javascript framework is the best knockoutjs, angularjs, backbonejs, canjs etc, please give the brief comparison because we are going to develop a product from scratch and need discuss the pros ...
0
votes
1answer
16 views
Angular - Passing variables to the directive scope
I would like to pass an object to the directive scope:
JS:
app.directive('validatePrice', function() {
return {
link: function(scope, el, attrs){
...
0
votes
0answers
6 views
Integrated MongoDB for nodejitsu
Modified the MEAN Stack code for the PhoneCat Angular Seed App from Dalcib's MEAN Stack for a Movie DB and trying to deploy the code on nodejitsu
When Deployed the AngularJS Batarang gives an Error ...