AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Controller (MVC) capability and reduce the amount of JavaScript needed to make web applications functional. These type of apps are also known as Single-Page Applications.

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

Angular & jQuery:horizontal scrolling a div from a controller or directive

I have an simple ng-repeat that is populating a large number of table columns inside of a wrapper with a overflow-x: auto style. The result is a horizontal scrollbar with a bunch of information like ...
1
vote
0answers
10 views

How do you output @ sign in angular.js

In my angular.js project I have the folowing: {{ myString }} Now when the value ofmyString is "@", The html output is as follows: [Object][object] How can I get round this?
0
votes
1answer
9 views

Angular SEO for a directory multi-language app

I am doing an angularjs app with a nodejs-expressjs server. I want to do an app that it's similar to a business directory. I have doubts about if it's possible doing it SEO friendly to the all items ...
0
votes
0answers
10 views

Angular controller promises and testing

Im writing some unit tests for my controller which uses promises. Basically this: UserService.getUser($routeParams.contactId).then(function (data) { $scope.$apply(function () { ...
2
votes
2answers
27 views

Is it possible to change browser doc mode frequently?

I have a web application which is developed using angular js. We also have another legacy web app which is included in iframe in one of our pages. This legacy web app works only in quirks mode. We ...
0
votes
0answers
7 views

Contacts.save force closes in Cordova 3.3 Android

I have included the Contacts plugin for Cordova in my app, as described in the Cordova CLI docs. The plugin integrated properly, and modified the android_manifest.xml file for permissions as well. ...
0
votes
1answer
49 views

AngularJS - yet another “I'm new to Angular”

I am creating a portal style application that will inject html into portions of the page. Let's call them widgets. I want each widget to be loaded with a ng-include. The widget will have it's own ...
0
votes
0answers
20 views

Which JavaScript SPA frameworks allow changes to <head> elements?

In a typical PHP, Python, Rails, etc., web app, like a blog or wiki, it is customary to use the templating language, not only for <body> elements but also <head> elements like, most ...
0
votes
1answer
13 views

AngularJS: how to make this ticker animation continuous and dynamically get element dimensions

This is my first AngularJS attempt, and I'm building a ticker of boxes CodePen Here Code: index.jade: doctype html html(ng-app="ticker") head ...
0
votes
0answers
12 views

AngularJS: A Table Directive with Cell Templates

I am writing an Angular directive that generates a <table> element based on the data specified in its contents attribute. I would like to allow the user to be able to specify an Angular template ...
1
vote
1answer
15 views

AngularJS Filter from “left to right” in values

So I've looked far and wide for a solution for this and come up short and would highly appreciate some help. Angular: var app = angular.module('app', []); app.controller('theController', ['$scope', ...
0
votes
2answers
11 views

AngularJS: Recommendation on rendering different view when HTTP 404

What I am doing I am trying to create a service which loads the user budgets for current month. The code looks like $scope.thisMonthBudgetSummary = function () { console.log('retrieving ...
0
votes
1answer
11 views

How to append a directive to another directive which calls a function from controller.

I'm trying to append a directive which occurs when an event is fired via the $watch function in angular. The first directive updater would insert a custom element <confirmation /> into my view. ...
0
votes
2answers
17 views

angularjs ng-repeat one long unordered list

So in my current angular app my json structure looks like this: 0: Object $$hashKey: "004" Date: "2014-04-17" Items: Array[3] 1: Object $$hashKey: "005" Date: ...
0
votes
1answer
17 views

Sending a POST request with Angularjs and get parameters in a Flask backend

I have this code in AngularJS: myApp.controller('LoginCtrl', function($scope, $http){ $scope.formData = {}; $scope.doLogin = function(url, pass){ $http({ url: url, method: ...
0
votes
0answers
13 views

Angularjs: how to revert back to the runtime loaded DOM elements in the previous view on going back (preserve state)

I have an angular application which has two views: 1) List view 2) Detail View when you click on the thumbnail from list view you go to detail view, here is the route: ...
0
votes
2answers
11 views

AngularJS: failed to instantiate module

I'm quite new to AngularJS, I'm struggling with following prolem for a while now: I want to use the resolve functionality of the routeProvider to load some data via a service. But always end up with ...
0
votes
1answer
5 views

Fix #tag inurl for a angluar js website?

Hello I am new to angular js, Currently my website url is like this existing url : domain.com/#/services required new url: domain.com/services i.e, I dont want the # tag in the website url. ...
0
votes
0answers
14 views

Node Express Passport with Angular - not compatible?

I'm working on a simple web app running Node/Express on the server using Passport to authenticate via Google, etc. The client is using Angular. I'm unable to get Angular to play nice with Passport to ...
0
votes
1answer
19 views

Accessing AngularJS model objects via an array?

I've got an interesting problem (to me at least). I'm on a project where we are getting data from an API and its nesting a set of objects in an array. We want to be able to display/edit them ...
0
votes
0answers
10 views

Web Api 2 facebook authentication with CORS enabled

I'm attempting to implement the Web Api 2 built in external authentication using Angular JS for my front end. I have owin cors enabled with the following line: app.UseCors(CorsOptions.AllowAll); I'm ...
0
votes
1answer
15 views

Angular JS factory - reference another factory object

I have a c# background and I'm starting to explore Angular JS. And I am basing my factory classes/objects on this article: https://medium.com/opinionated-angularjs/2e6a067c73bc so I have 2 factory ...
0
votes
0answers
8 views

Steroids/Angular Mobile App Switch Tab on Button Click

I am building a Appgyver Steroids/AngularJS Mobile App and I have 4 tabs that the user can visit. In one of the tabs, there is a button and if that is pressed, the app view should switch to a ...
0
votes
0answers
31 views

Is it safe to use AngularJS ~1.3.0 BETA in production environment?

Is it safe to use latest AngularJS ~1.3.0 (BETA 5) in production environment or it's not recommended? I need to use some new directives like input[date], but they are available only in version ...
0
votes
1answer
18 views

Flot, angularjs and getting data to plot via http get

wowee....can't use flask to return a json object to plot a flot chart in angularjs. Totally does not work. I use the hard coded json...the chart shows. Whats the deal with a get requests in ...
0
votes
1answer
17 views

Using Helper in AngularJS

I am working on an Social app using laravel and angularjs. I have a situation where when i check for user relation using helper. **Html** //showing users other info <div ...
0
votes
0answers
8 views

angular TAB is not working in IE8 giving IE alert “Do you want to allow this website to open an app on your computer”

I am using windows 8 machine. I am trying angular/twitter bootstrap TAB on IE8. When i am trying to select TAB(using mouse click) it is giving me and IE alert "Do you want to allow this website to ...
1
vote
1answer
13 views

Binding to a function in AngularJS

I'm really surprised that the function binding below worked <!DOCTYPE html> <html ng-app="App" ng-controller="mainCtrl as main"> <head lang="en"> <meta charset="UTF-8"> ...
0
votes
1answer
17 views

$http.get() in angular js always returns with error and status code 0

I am making a call to a REST webservice,which is returning error all the time ,However when I observed in fiddler its returning the status with 200 and always showing the JSON what I am expecting. ...
0
votes
1answer
13 views

Update scope after a resource delete

I would like to update $scope after a call to a resource delete. The resource is defined as meanApp.factory('Group', function ($resource) { return $resource('/api/v1/groups/:groupId', {groupId: ...
0
votes
0answers
6 views

Center Angular modal ui

I am playing with angular modal ui dialog. I wonder what is the way to center it ? I find a similar question: Twitter Bootstrap - Center Modal Dialog but was unable to make it work as I am rather new ...
1
vote
1answer
12 views

Call a function in angular js with its parameter

I am calling a funtion from below:- <a href="#" ng-click="editExpense('{{expense.Expense.id}}')">Edit</a> In inspect element i am getting the id is '12'. but in function below:- ...
0
votes
0answers
5 views

angularjs java and velocity app

I'm simply just trying to create an angularjs app inside my current java/velocity webapp that I have running locally. I am coming across issues where I am getting: Uncaught Error: [$injector:modulerr] ...
0
votes
1answer
18 views

Angularjs default action form submit

My angular application needs to submit a form to a vendor. They then redirect the user to a page that I specified earlier in the process. So I want standard, non-angular html form submit behaviour. ...
0
votes
2answers
41 views

Cannot access div id via javascript in html in an angular include

Ok-edited to add code. I cannot get javascript functions to bind to element in an html page that is an angular include. This works: <button id="toggleMessage">Click Me</button> ...
0
votes
1answer
15 views

Testing a simple service with $httpBackend

I have a simple service that I want to test. I'm using $httpBackend to mock requests. I'm having problems getting the mocked data back after the ajax call. I know its asynchronous. I need a simple way ...
0
votes
0answers
19 views

Time period of bootstrap timepicker

How can I set a time limitation to bootstrap-TimePicker? For example when we have two TimePicker for start time and end time, end time can not be set to an earlier time and start time can not be set ...
0
votes
1answer
21 views

AngularJS - updating the model shared by different controllers

I'm just starting with AngularJS, building my first test web app. I have several controllers that share the same model. This is my model: uxctModule.factory ("ModelData", function () { var data = ...
1
vote
1answer
13 views

AngularJS filter multiple spesific objects

I trying to make a filter with AngularJS that filters spesific data parts of a scope, for example: $scope.opdrachten = [ {"organisation":"Organisation1","number":"7ZDG54","city":"Amsterdam"}, ...
0
votes
1answer
13 views

displaying days of week in view

I am display days of week in my template, which I am declaring in my controller like $scope.weekday = new Array(7); $scope.weekday[0]="Sunday"; $scope.weekday[1]="Monday"; ...
0
votes
2answers
34 views

Why i can not get the update value in an AngularJs factory?

I am trying to update and then get the update value of an AngularJs factory, I am setting the value in one scope and trying to get it in another, I am setting a factory to handle the pop up messages ...
0
votes
4answers
25 views

how to repeat option between a range in angular js [duplicate]

I want to print 2014-2050 in angular js. I have tried to find it in google and SO and i got below <select class="form-control" > <option ng-repeat="n in [2014,2015,2016, .. 2050]" ...
1
vote
1answer
30 views

Can we make hidden routes with angularjs?

I want to know if it's possible to make some hidden routes with angularjs, for example I have a category and sub category, in my application I have .when('/category/new' ,{ controller : ...
0
votes
1answer
22 views

Angularjs bind data to span text box

I have following span that I am using as a text input. <span ng-model="sampleText" style="width:100px; padding:20px, 100px;" class="TextBox"></span> Reason why I am using span instead ...
0
votes
2answers
34 views

custom orderby loop through nested array

my nested json is killing me, seem I have to write a custom filter to do orderBy $scope.ranking = [ { 'uId': 2, 'name': 'Jeremy', 'tabs': [{ 'tabId': ...
0
votes
0answers
10 views

AngularStrap select not working with Bootstrap modal

At every first time I load my data and click on the first row to get them for 'Edit' on Bootstrap modal popup window, the multi select drop down (from AngularStrap) inside the modal window is throwing ...
0
votes
2answers
34 views

Angular JS services $http and $q

I am learning Angular JS $http and $q services from Pluralsight Angular JS tutorial. I mostly created the eventData service that retrieves a JSON from the server using promise q. But when I assigned ...
0
votes
1answer
22 views

Changing text on the click of button-AngularJS

I am new to AngularJS and trying to do something. Basically I have one button in my Html page and when I click on that I want to change the text. When i click on button it should display "Saving" when ...
0
votes
0answers
7 views

Angular Server Side Pagination with filter

I am working on Angular on client side with web service as middle ware. I am using ngTable for pagination and filter. My Current code is : client side code(JADE) ...
0
votes
1answer
16 views

Unexpected Token < while running Mean Stack application

I am following Plurasight video tutorials on creating mean stack application. http://pluralsight.com/training/Courses/TableOfContents/building-angularjs-nodejs-apps-mean Everything was working fine ...