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 applications are also frequently known as single-page ...

learn more… | top users | synonyms (2)

-1
votes
0answers
9 views

AngularJS post 404 bad request

I found a few advices here, but they are doesn't work. Probably my code is wrong? var data = $.param({ query : query }); var config = { headers : { 'Content-...
0
votes
0answers
4 views

The underlying provider failed on Open when calling WebAPI via Angular $resource

I am getting 'The Underlining provider failed on Open' when calling one particular endpoint in the WebAPI using Angular's $resource to populate the dropdown lists. The form in the MVC View is like ...
0
votes
1answer
5 views

couldn't figure out the issue with angular routing / ng-repeat.

The aboutus.html page is displayed correctly, except the content in the ng-repeat within media-list in aboutus.html. there are no errors displayed in the console. I have not included the entire code (...
0
votes
1answer
21 views

Angular app taking a while to apply CSS

The angular app that I am working on takes a while to apply the CSS. When any page first loads (or from refresh), everything is displayed as raw html (unordered lists, etc) like : Here is the ...
0
votes
0answers
3 views

Get access token form google api

I am using the following controller to import contacts from google account. I got the authorization code after login in gmail. But couldnt able to get the accesstoken by posting the authorization ...
0
votes
1answer
14 views

Strip characters from ng-repeat filter?

I'm writing an Angular app that will read a magnetic stripe card from a USB device. When I swipe a test card, I get a string back containing the card number. For example, ;12345?, where 12345 is the ...
1
vote
0answers
15 views

Getting the latest data from a promise returning service called repeatedly

I have an angular service that returns a promise for data obtained from a server. This data is requested multiple times in a fixed interval to keep the display up to date. The response can sometimes ...
-4
votes
1answer
21 views

How to make this in Javascript, jQuery or Angular

I've been trying to google this for hours, and I'm just totally clueless. I want to make something similar to the "Recent Vehicles" section at the bottom of this site, where you can click the arrow ...
-1
votes
0answers
2 views

How to print only the expanded portions of a collapsible div in angular JS?

I have a set of collapsible divs. On trying to print, all of them expand in the preview. I want only the ones that have been expanded by user to print that way.
0
votes
1answer
35 views

How to make hover dynamic in CSS?

I'm using Angular v1.5.4. The project is a personal blog. Currently in the early prototyping stage. Here is my use case: User hovers over button. If that button has the class 'active' applied to ...
-1
votes
0answers
20 views

ANGULARJS: How to sort JSON using template into seperate divs

I am new to the angular js field, and am trying to pick up the basics: I have a JSON that I want sorted into 4 or 5 separate parent divs depending on a value in the JSON, and then have the JSON fill ...
0
votes
0answers
25 views

Read HTML Code from Database in MySQL

I'm writing a web page and I use Angularjs to load HTML code saved in database but it just show like a string not active HTML code. How could I solve this problem? Thanks for your attention. This is ...
0
votes
0answers
19 views

How can I append key value pair to the url which already existed key value pair in AngularJS?

I have a click functions.In 1st click function i add the key value pair for existing url like this $scope.OnItemClick=function (bedroom) { $location.path("/builders/"+r.id).search({bedrooms:bedroom}...
0
votes
3answers
32 views

Display today's date along with a string

I want to display today's date along with a string. Eg., I want to display R_20160310 in a field. I used the following code, I'm not able to get the date format in YYYYMMDD when I store a string value ...
0
votes
0answers
3 views

Backand/Ionic - How to retrieve data of logged in user?

I am using Backand as my database and they provided a todo app on their github but it only retrieve all the data of the users. I only want to retrieve the data of the logged in user. How can I do this?...
0
votes
2answers
22 views

How can i create a ng-repeat Modal bootstrap with angular

So I have the following simple JSON in my controller: var app = angular.module('MyApp', []); app.controller('loadCtrl', function($scope,$http) { $scope.buttons=[ {Id:'1', type:'First Button' ...
0
votes
1answer
33 views

How return a request inside a promise

I am using ionic 2 / angular 2. I need to do a http request, but before I have to get a token using Ionic Storage. I created a class ApiRequest for that import {Http, Headers, RequestOptions} from '...
0
votes
2answers
29 views

What Should I Know Before Learning Angular 2? [on hold]

I want to learn a singl;e page javascript framework.Though,I'm not an AngularJS 1 boss,but I had a look for a while and found it is easy to learn.But Angular has reached to version 2 which is revamped ...
0
votes
0answers
10 views

Json Web Token - jose4j - SyntaxError: Unexpected token e in JSON at position 0

I have a controller which tries to get a token. I got this error in postman when I execute it in the view PRETTY Unexpected 'e' But if I go to the view RAW I can see the token like this. ...
0
votes
1answer
7 views

The ng-file-upload doesn't work with MEAN.JS app when injection is used

Error thrown: angular.js:13920 Error: [$injector:unpr] Unknown provider: ngFileUploadProvider <- ngFileUpload <- MyCtrl http://errors.angularjs.org/1.5.8/$injector/unpr?p0=ngFileUploadProvider%...
0
votes
0answers
18 views

angular $resource GET request not working

I made a RestAPI and I have the following in my node.js... router.route('/accounts') .get(function(req, res) { console.log("getted"); }); It is prefixed with api... app.use('/api',...
1
vote
0answers
18 views

Horizontal bar graph is not getting displayed

I am trying to create a horizontal bar chart using d3.js on angular. But it's not getting displayed. Here's the directive i have written for the same. 'use strict'; angular.module('hypotheses')....
0
votes
0answers
12 views

AngularJS how access to an object called “soap:Env” inside a JSON response

I have a problem, i need to access to a json object called soap:Env inside a json response. With the normal dot notation i can't, exists another way to avoid this problem? { "soap:Envelope":{ ...
0
votes
0answers
13 views

How do I send a div value to a function in angular controller

<!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <body> <script> var app = angular.module("...
0
votes
0answers
14 views

Trying to render a page from node js after making post request through angularjs

I am trying to render a page from nodejs after the post request from angular controller. However, the page doesn't load and it stays on the same page. There are no errors in the console. Moreover in ...
0
votes
1answer
30 views

date string doesn't show up in date input

I have saved date as a string. for example: I have object in angularJs called myBirthday. myBirthday.date="1996-04-04"; and I want to show the date in input in the modal: <input type="date" ...
0
votes
0answers
13 views

Angular URL routing issue

So I needed to change my URL so that google analytics could track it. Google analytics wouldn't accept it with the "/#/" (hash) in the link. That said, I used Angular's locationProvider and revised my ...
0
votes
0answers
16 views

Google Maps Api run getPlaces with custom string

I'm using Google Maps autocomplete feature and everything is working fine. But I'd like to know if it's possible to run .getPlace() function from a custom string, wether it's coordinates or address. ...
0
votes
0answers
11 views

Angular directive based on other directives

In my current project we're using angular and ui.bootstrap as UI library. What I'm trying to do: to make dropdown with matches for typeahead element to have the same width as input field How I'm ...
0
votes
1answer
20 views

Angular 2 Detect changes from another service

I have an AuthService, that contains actual user data and method for login. If I click on 'Login button', I call my AuthService to get new user data from server and rewrite 'this.user' value; So, in ...
0
votes
0answers
3 views

Initializing LUMX object

Im using this lovely Lumx library as part of my angular app and trying to use their datepicker : http://ui.lumapps.com/components/date-picker I have included the lumx files and the button is ...
0
votes
0answers
8 views

Crossfade images with AngularJS and jade

I'm a newbie to AngularJS and want to create a timer for a crossfade image gallery what changes images every few seconds. Here is what I have already: Angular Controller: app.controller('...
0
votes
0answers
5 views

Django Rest Framework Many to Many field related to itself

I have an AngularJS project that used Django as a framework through the Django Rest Framework (DRF). I've created a Group model and set up a serializer class for it, however I want to now establish ...
0
votes
2answers
23 views

Index view is not redirected and not refreshed after save button on create view is clicked. But data is saved successfully

Screen is not redirected to Index view and data is not refreshed after save button click on create view. But data is saved successfully. How can I redirect and refresh index view after data is saved. ...
0
votes
0answers
13 views

fileUpLoad in Angular.js: nothing happens

I'm learning Angular, and seeing how file uploads work. Here's my .html file: <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"&...
1
vote
1answer
34 views

How can i manipulate the select options by angularjs

I have following problem, I have 3 select fields(generated by ngOptions) with few options(100,200,300). For example options with width for top, sides, bottom, (this widths are the same in this fields) ...
3
votes
1answer
17 views

Display nested results from http request after submit

there is a textbox on my page where users type in what a username they want to search and after click on a submit button. what i want to achieve is when the user hits the submit button the results ...
0
votes
1answer
11 views

Windows IIS wwwroot angular javascript serving up .json files not working

The website with index.html is located here http://www.example.com/index.html The is using angular/javascript and i'm trying to serve up fake data with .json files locally I can do this just fine. ...
0
votes
0answers
19 views

$http.put not updating model

I'm attempting to learn the MEAN stack and learning to use the $http service. I currently have a global check in place that is suppose to update my Sprints model, which looks like: var ...
0
votes
1answer
7 views

ionic new version break the button design on 2.1.0

I recently upgraded the ionic to the latest version of 2.1.0 and the button are coming with out any style and color. I used the primary or danger sass color even it is not working. My button code ...
0
votes
1answer
16 views

Angular injection error when adding the controller in a form of navbar dropdown

I'm very new to angularjs and SPA. I was trying to use the navbar structure of bootstrap adding a login section as a dropdown in a index spa. I want to click on the sign in button and call the ...
0
votes
0answers
15 views

(systemjs) xhr error (404 not found) loading

I use a service in an Angular 2 app, and I get an error which is attached below. I started this project using "Angular 2 QuickStart" cloned as 'my-proj'. Error screenshot systemjs.config.js /** * ...
0
votes
0answers
19 views

Header and Paragraph slides down and Glyphicon is placed a bit above input box

This my webpage code being made as a mobile version (doesn't matter). Problem is that when I try to enter password, the h1,p stuff slides down a bit. And glyphicon is above the input box. &...
0
votes
1answer
9 views

Angular Routing in Django

I am new to Angular JS and trying to implement routing in a Django App. My Html code is:- <body> <nav class="navbar navbar-inverse" ng-app="QuizRouting"> <div class="container-fluid"...
0
votes
1answer
18 views

static css and js files versioning

I have an angular app and I'm facing the situation of taking care of the versioning of my static CSS and JS files? right now my browsers won’t update the files except with hard-refresh, the old ...
0
votes
0answers
31 views

How to send data to GET request using angular

I am using $stateProvider to change states in my app. One of my states has the following structure... .state('accounts', { url: '/accounts', params: { query_string: null }, templateUrl: '...
0
votes
1answer
19 views

custom directives - child directives do not show up when enclosed within parent directive

Note: ui-grid is name of my custom grid. Sorry about the confusion. I have a custom directive which will have a child custom directive and will be called in this fashion in the html. <ui-grid ...
0
votes
0answers
14 views

Bootstrap 3 accordion menu: Stop the panel open from also opening the page

I am developing an Angular JS 1.5 app using Booststrap components. I have an accordion menu on the sidebar which is based upon this: http://bootsnipp.com/snippets/QXqM1 (Not my code) When I open a ...
2
votes
1answer
17 views

Angular ui-router resolve inheritance

I would like to create an abstract parent state, that has only one job: to resolve the current user through an ajax server call, and then pass this object to the child state. The problem is that the ...
0
votes
0answers
18 views

Md-icon animation with ng-click

I'm using Angular Material to develop a shopping cart, and trying to implement an animation that will begin once a user adds an item to cart. How do I make the animation react on ngClick in another ...