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

learn more… | top users | synonyms (2)

-1
votes
0answers
5 views

Angularjs Safari Issue

I'm using AngularJS and Asp.net MVC When try to login with twitter or facebook accounts on my application everything is working fine but when try to logout only safari browser loading the response ...
0
votes
2answers
10 views

AngularJS - Services - TypeError: Cannot read property 'helloConsole' of undefined

I'm studying AngularJS Services and I'm having a problem. That's my Angular Code var app = angular.module("todoListApp"); app.controller('MainController', MainController); ...
2
votes
0answers
5 views

Grunt uncss task for nested classes

I'm using grunt-uncss with my AngularJs app and I'd like to know if it's possible to specify a nested class in the options to be ignored. For example, my css output when using Angular animations ...
0
votes
2answers
9 views

Angular function is not using explicit annotation and cannot be invoked in strict mode

In my web application I want to verify if the user has the permissions to continue. This is the .run method in my index.js file: .run(function (event, toState, toParams, fromState, $window) { ...
1
vote
0answers
16 views

Send http request by loop synchronically - angular.js [duplicate]

I am trying to send multiple $http request, the request is in .service: app.service('servlet', function($http){ var base = "http://myUrl.com" // real url is private //queryParams for GET ...
-2
votes
0answers
17 views

why you should use angularjs? [on hold]

i want some valid reasons with detail example...we are confused which js framework for our new CRUD website ...
0
votes
0answers
12 views

StateChange causes inspected target crash in Angular

I'm doing a web app. There is a login, and then a single web application. It has a sidebar on the left. But I have some problem with the routing. I'm doing a Token auth. The problem is that when I ...
-3
votes
0answers
18 views

Use Angular 2 instead of AngularJs in MEAN stack

can someone please guide me how I can use Angular 2(with typescript) instead of AngularJs with MEAN stack. Currently I am learning Angular 2 and MEAN stack. I don't know AngularJs and do not want to. ...
0
votes
0answers
15 views

Why isn't the form sending the text value from my form?

I'm following a tutorial to create a simple todo app using the MEAN stack. Everything was working fine until I moved the controllers and services into separate files. Now I can create a new todo but ...
0
votes
0answers
3 views

Preview Thumbnails using Videogular

I would like to have thumbnail image moving along with mouse position on the timeline. http://coub.com/sources/2342575 I found the directive in videogular api but this is not what I want. Looking ...
0
votes
1answer
12 views

using $stateProvider with asp.net web api

I am learning angular and web api and stuck a bit with routing. For example I want to display products using the following localhost:53967/products. My application file is as follow. (function () { ...
0
votes
0answers
7 views

How to stop/pause MediaElementSource (web audio api)

I have a simple I'm using Web Audio API to streaming audio using this function: function MyAudio(url){ var song = new Audio(); song.crossOrigin = "anonymous"; ...
0
votes
0answers
15 views

angular filter on object works but causes Infinite $digest Loop

I gave an object as followed { key1: [{...}, {...} ....], key2: [{...}, {...} ....], .........so on ..... } I have an ng-repeat as ng-repeat="(key, values) in data" and then inside that ...
0
votes
1answer
22 views

Using Google Maps and Angular JS. Trying to store coordinates in variable

FYI, I'm new to AngularJS. I'm trying to store coordinates of marker selected in Google Maps in a variable. I am able to log the coordinates once I select a point on the map but I can't figure out why ...
0
votes
1answer
21 views

How to listen to $rootscope.$broadcast with $scope

My $scope.$on(... doesn't seem to be picking up the broadcast. I have an interceptor to capture http response errors and broadcast an event that my main controller can react to. (function () { ...
0
votes
1answer
17 views

Pulling a date together with other information from Localstorage. Error on the date

I'm working on a pretty basic ionic app where I need to be able to save a simple array of objects for whenever the user relaunches the application. The objects contain various information, it's ...
0
votes
0answers
16 views

JQuery Pagination controls are overlaying

I'm building a small application with a datatable. Therefore I have a JQuery datatable in AngularJS. My problem is, that the controls for "next" and "previous" arent usable because they are ...
0
votes
1answer
14 views

How to use “LESS” in angularjs project using UI-ROUTER

I am using bootstrap template in my angularjs project which is served by Grunt. Everything else is working fine, but the Components of bootstrap template which are using LESS are not getting rendered ...
1
vote
1answer
13 views

Error while adding dependency for angular-materialize

I want to use materialize for my angular project from https://github.com/krescruz/angular-materialize but I get the error angular.js:68 Uncaught Error: [$injector:modulerr] Failed to ...
1
vote
0answers
23 views

My html5 app fail to display model

I'm using angularJS to do some custom filter work, but it failed to display model information at the first stage. <html lang="en" data-ng-app="myApp"> <Head> <title>Custom ...
1
vote
0answers
36 views

In $http.get how do i match dynamic page id

dhmsApp.controller('dhmsDetailsView',function($scope,$http, $routeParams){ console.log($routeParams.id); $http.get("include/detailViewBg.php").success(function (response) {$scope.names = ...
0
votes
2answers
18 views

Cannot call modal.show() after remove(). Please create a new modal instance

I am using the suggested technique in the tutorial to create a modal in my controller that works as long as I do not navigate away from the view using that controller. In addition to this, I have ...
0
votes
1answer
26 views

how to push random value out of angularJS model

I currently have a use case for having angular return a random value into the outer container of the route for the purposes of forcing cache invalidation when selecting a new route. HTML: <a ...
1
vote
1answer
10 views

Can't install Angular 1.5 component router

I'm trying to install the Angular 1.5 component router for use in a new project, but having a lot of difficulty. As per https://docs.angularjs.org/guide/component-router, the following should work: ...
0
votes
1answer
14 views

moment.js returning invaild date for every entry except the first when used on a angular 1.5 filter

So I decided to make a simple moment filter for formatting my times however I have an issue where the first input from a ng-repeat list will go through it correct but all the rest return invaild, yet ...
0
votes
0answers
10 views

AngularJS, Primefaces, XHTML, navbar issue?

Im doing a web-app where i want a navigation bar on top of every xhtml page. Im using AngularJS for this, but it doesnt work and i cant find out why. Im suspecting that i have to work differently with ...
1
vote
1answer
25 views

In AngularJS ui-router, state changed, url changed but template url not

i tried to follow this tutorial but using Node.JS the problem is when i click login button, it's authorized from the server side, the url is changed to http://localhost:3000/#/venue but the view is ...
0
votes
3answers
43 views

How to recharge an ENTER event in javascript

I have an SPA developed with AngularJS and Bootstrap. The user can enter a username and password to log into the application. I wanted to allow that, after entering the username and value, pressing ...
1
vote
1answer
21 views

Get by id as well as by string angularjs webapi

I am completely new with angularjs using with webapi and I am probably going about it the wrong way but basically I want to search for a product by text(as I am executing the query in the database) as ...
0
votes
0answers
16 views

How to convert csv data to json in Angular?

I'm a new bie to the angular, I'm trying to convert the CSV data to JSON by following the FileReader not loading file properly using AngularJS accepted answer. Firstly it's not allowing me to assign ...
0
votes
0answers
22 views

Angular2 how to get data from external api?

I'm new to Angular2. I'm going to write single page app and I need possibility to get json from my backend. I found a lot of examples online but no one works for me... :/ I spent 2 days trying to run ...
0
votes
3answers
37 views

How to override the color defined in css?

I have this style class it's create red rectange in the view: .tag-template .left-panel { width: 24px; height: 24px; background: red; vertical-align: middle; } Here how I use the ...
0
votes
1answer
27 views

How do I Add multiple conditions to either form ng-submit or Textbox ng-enter

In my JSP code, I try to use ng-submit on a form. The problem is that there are many validations for the textboxes of that form which are implemented using ng-disabled in Submit button. Now if I ...
0
votes
1answer
16 views

Ionic loading in certan container

I am using $ionicLoading in my app controller when getting resource through api call but the default ionicLoading freeze the entire view, thereby preventing user to click on any other place. However , ...
0
votes
1answer
16 views

Unit test on angular directive with a service

I'm trying to do unit testing on a directive that calls a service to retrieve posts and am confused on how to test the directive. Usually directive testing is easy with just compiling the directive ...
0
votes
1answer
19 views

How to pass the selected $index in ng-repeat?

I want to upload image and show up in the page. I have 5 image so there is 5 arrays and I'm using ng-repeat to show it out. Below is my html in jade form: form.form-horizontal ...
0
votes
1answer
7 views

Angular Material design is not working?

I want to add angular material design in my website. <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-animate.min.js"></script> <script ...
1
vote
2answers
23 views

Angular navigate to the previous state on page reload

I wanted to know if there is a way in Angular to refresh a single page application and properly go back to the same state as before? I am using ui-router (version 0.2.15) for defining different ...
0
votes
1answer
17 views

AngularJs, Consuming REST service based on the optional parameters inserted by the user

I want to pass optional parameters to the url based on the user input(2 Html Text Boxes) and accordingly consume the ASP.NET Web API but i don't know how. This is my Controller ...
0
votes
0answers
21 views

MEAN: Loggin in by JWT

[Q1] What advantage does an HTTP Interceptor provide on modifying the config.headers["Authorization"] (frontend AngularJS) to contain the value of token when I can verify the requests by checking the ...
0
votes
1answer
19 views

angularjs namespace in $stateProvider.state

i have following states in my app .state('app.users', { url: '/Users', title: 'Users', templateUrl: helper.basepath('User/Index') }) ...
0
votes
0answers
8 views

Angular2 + Wordpress(not SPA integration)

Can you insert angular 2 into wordpress(php code) without making wordpress a full SPA? For example if I have a wordpress theme that I want to have a cool filter feature on a specific page, can I use ...
0
votes
2answers
29 views

Set first value as the deafult select box value

html code to set a default drop down value. Had to set the first value in the list as the default selected value. <div class="col-md-12" ng-controller="TestController as regCtrl" > <div ...
0
votes
0answers
23 views

Why run method of this module isn't run? [duplicate]

In following example there are three modules, first one is required by second module. And this works when referenced using ng-app in div. But third module that goes by the name of someonesApp does not ...
0
votes
1answer
18 views

ionic : How to add custom elements to header bar or add own header bar per view?

I'm new to Ionic. I want to add custom items to the header bar. It seems the header bar is generated by the framework inside the ion-nav-bar element. <ion-nav-bar class="bar-positive"> ...
0
votes
0answers
22 views

AngularJS - $http.jsonp returning only one response

I have this piece of code that's calling some Yelp API. When I'm checking this requests through dev tools I can see that all of them succeed and all returned responses. But scope.callback returns data ...
0
votes
0answers
13 views

Res.redirect does nothing in my angular-express

Here is what I building. 1. Node/Express Server 2. Angular Routes 3. Database functions 4. Controllers So this function in my 1st file function requireUser(req, res, next){ if (!req.user) { ...
1
vote
1answer
12 views

How can I find out if a route has been specified when my AngularJS ui-router app starts up

I have an AngularJS SPA application that uses angular-ur-router. When the application starts normally it is when the user entered: (a) www.example.com and then the index.html page is called ...
0
votes
1answer
42 views

Can't access elements of an array

I'm still quite new to Angular and JavaScript so apologies if this is an obvious mistake. I have this code that selects 2 text files, then puts them into a single array. $scope.textArray = []; ...
0
votes
0answers
9 views

WebRTC - 'RTCPeerConnection': The ICE candidate could not be added

The error I am getting in the browser console (only appears in chrome, no errors in firefox) is Error: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': The ICE candidate could not be added. ...