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)

0
votes
0answers
5 views

Laravel 5.2 - Getting 500 error when connecting with CSRF disabled

I am having an issue where I'm getting a 500 internal error when connecting to my Laravel API. I had my site originally on GoDaddy using example.com as the main site and api.example.com as the api, ...
0
votes
1answer
5 views

Ionic Run Function on Every State Change

I am integrating Mixpanel Analytics into my app and I want to track every state change and be able to submit some additional parameters. It would be best if there was a single location to do this ...
0
votes
0answers
11 views

405 Error $http post json file to a folder using IIS

My Code looks like var myApp = angular.module('myApp', []); myApp.directive('fileModel', ['$parse', function($parse) { return { restrict: 'A', ...
0
votes
0answers
15 views

assigning variables as value from url using $stateParams

I am building an AngularJS app and am confused about the $stateParams service. I am trying to assign the Google Maps 'center' variable as the lat and lon values in the URL. Here is my .config: ....
0
votes
1answer
17 views

AngularJS - How do I save text from an input area? localStorage?

So I am adding a notes area for the user. The user will be able to input whatever they want and hit save. Save works for the entire page, except for the input area it resets. The only other thing I ...
0
votes
3answers
17 views

calling the same options object on $scope

I have the same options object on $scope and I want to use it more than once. How do I differentiate between objects with the same name? This happens to be in angular. $scope.options = { ...
0
votes
0answers
9 views

Can not use typeahead and simple $http.get together

Here is the problem, When I try to call a JSON into my angular JS app, I can not do it since I am also using the UIBootstrap API with typeahead angularjs app: Here is my ejs file <!...
2
votes
3answers
16 views

Angular returning it's own tags instead of output in ejs

I tried doing some input validation on my inputs at my ejs template using angular, but it doesn't seem to be working correctly, this is the code i used (from w3schools): <!DOCTYPE html> <...
0
votes
0answers
19 views

Angular 2 routing not working

Hi I am creating an angular 2 app with routing capabilities. When I try to access the the url for e.g. localhost/ , the index.html page is shown correctly. But when I try to access the url localhost/...
0
votes
0answers
7 views

Gulp serve gives no reaction in Yeoman Gulp Angular

I am new to Yeoman and Gulp. Could someone please suggest a solution to the problem below: enter image description here Tried a lot of searching but none helped. I am using Windows 7 64-bit. If ...
0
votes
1answer
8 views

Ng generate in specified location doesn't work

I got the problem with generating components in my angular 2 application. I'am running command ng g component [nameofcomponent] -it -is in 'other' folder and due to documentation it should generate ...
0
votes
0answers
9 views

Interacting directives with individual controller

I have a directive (parent) that I want to interact with another directive (children) that i've created, this children's content must be transcluded and must interact with an external controller. ...
0
votes
0answers
6 views

Angular with imports - adding resource to controller

I'm trying to import a resource to a contoller with es6 imports. I've got this resource: import angular from 'angular'; import ngresource from 'angular-resource'; personsResource.$inject = ['$...
0
votes
0answers
22 views

using $stateParams to store an object in URL

I am making an Angular app that lets users pick a point on google maps on one page, and then gives an expanding radius (with the point selected as the center) on another page. I also want other users ...
0
votes
0answers
7 views

Angular, JEE, IONIC, .NET application architecture

We have a school project in which we are supposed to create an application using : Anugular as Front-End JEE as back-end .NET ( I don't know where exactly) Ionic as a mobile platform They all ...
0
votes
0answers
14 views

How to configure angular ui-router state that will match any and all present query parameters?

The Problem: I'd like a single ui-router state to match the following urls: #/.../update?id #/.../update?username #/.../update?customerId&sandwichId If/when the 'update' state is active (it's ...
0
votes
0answers
7 views

Internet Explorer (IE11 specifically) stops(freezes) while loading angular page with dropdowns

I have a single page application written in angular 1.5. The page has a link that opens up a modal that has around 15 checkboxes and a state dropdown associated with each checkbox.The data is loaded ...
0
votes
1answer
14 views

Angular 2 Form “Cannot find control with path”

I try to make a dynamic form (so you can limitless add items to a list), but somehow the content of my list is not getting send because it can't find the control with path: Cannot find control ...
1
vote
1answer
18 views

Typeahead fetch data from url json value not working

Hi below is my html code for angular typeahead: <div class="form-group"> <select name="" class="form-control" ng-model="city" ng-change="onChange(e)" id="city"> <option value="...
0
votes
2answers
17 views

I am not able to get response in angular js $http.post

I want to check whether the email id already exists in the db. If the email id exists, it should return false, else true. I'm not able to get the response. I've attached the controller code and the ...
0
votes
2answers
17 views

AngularJS JSON load from file with ng-click

Currently I want to show HTML table by parsing JSON data from file using Angular JS, And It's not working can someone please help me? And Also As a Enhancement How Can I get the 2 Divs for 2 ...
0
votes
4answers
19 views

what is the best way to use jQuery plugin into Angular js

i am using jQuery plugin with Angular project but with the jQuery way like $(document).ready(function(){ //calling plugin here }); this is working fine. I know this is not the right ...
0
votes
1answer
14 views

CORS error, when i use instagram API with angularjs

I have simple task - get users' data from instagram account. I use standard instagram api and angularjs. Here is controllers' request method: $http({ method: 'GET', url: 'https://api.instagram....
0
votes
1answer
21 views

Angular Js linking a controller to a route doesn' work

I watching an Angular course on codeschool and it say that there are two way to link a controller to a route The first one is declaring the controller inside the route like this: angular.module('...
0
votes
2answers
23 views

.preventDefault jQuery won't execute on page, but will execute when typed in console

my code is a simple click event e.preventDefault command for a hamburger menu. The file loads in the browser, but the preventDefault won't work. When I copy and paste the code into Chrome's console,...
0
votes
3answers
26 views

Angular Js filter does not work with javascript addition operator

I was playing with Angular Js when I came across following issue <li ng-repeat="x in capitals | orderBy:'capital'"> {{ x.country|uppercase}} : {{ x.capital|uppercase}} </li> works but &...
1
vote
0answers
11 views

Why are Cordova StatusBar methods missing execution?

I am working on a Cordova Ionic application, and I'm trying to make the Status Bar color match the background color used in the header of my application (as most apps do these days). Thus, I am using ...
0
votes
0answers
6 views

Aptana Eclipse - Custom tag color

I'm using Django with AngularJS. Because Angular and Django has the same brackets tags, I've changed Angulars's brackets to "[[" and "]]". How can I change the color style of new tag in Aptana Studio ...
0
votes
1answer
23 views

Load existing components dynamically Angular 2 Final Release

I'm trying to load dynamically a component in the final release 2.0.0. Using RC5 I was loading using the following code: Create a directive to load the controls: import { CheckboxComponent, ...
0
votes
1answer
14 views

highcharts js move series data container up

I am using highcharts + highcharts-ng and I'm trying to position the container for series Data (where the number 80 appears below) a little bit higher since it is overlapping with numbers 200 and -200 ...
0
votes
3answers
7 views

Angular / Jasmine Unit Testing - How Do You Test If A Function Was Called If Its $scope Element is Cleared Within the Tested Function?

I have a controller function that looks like: $scope.clearMarkers = function(){ for(var i = 0; i < $scope.markers.length; i++){ $scope.markers[i].setMap(null); } $scope.markers ...
0
votes
0answers
8 views

Google Charts size in angular directive

I am running into some problems getting consistent size for a simple google bar chart. I have a directive that displays some information and I want to include a bar chart of the data app.directive('...
0
votes
0answers
8 views

angular.js:13550 Error: Could not resolve 'item1' from state 'mainpath'

In my default homepage, I have 1 navbar with 2 items. My config for the main ui-view is: angular.module('app').config([... $urlRouterProvider.otherwise('/mainpath'); $stateProvider ....
0
votes
1answer
23 views

Momentjs : convert 12 hour to Date object

i'm tryning convert 12 hour string to 24 Date object day.from = day.from || moment("6:00", ["h:mm"]).format("HH:mm"); but i'm getting this error: angular.js:11706 Error: [ngModel:datefmt] Expected `...
0
votes
0answers
7 views

ng2-uploader - Module parse failure

I'm trying to import ng2-uploader module into my Anuglar2 project but I'm getting a parse error when I do. I followed the instructions on github so I'm confused on what is causing this. ERROR ...
0
votes
0answers
10 views

How to access child records of a firebase array dynamically using Angularfire

I am trying to implement a accordion using angularfire . I am able to retrieve the top level list ("A1","D1","R1")for display but I am unable to figure out how to retrieve the child for each accordion ...
-1
votes
0answers
18 views

Border CSS not working when using Autofill in Chrome

I am using autocomplete in input type text. Border color is changed in css inspect element. But not reflected in browser view. Still it is showing the previous red color. Can someone refer the ...
0
votes
0answers
11 views

What are the major security threats for an ASP.NET application developed with .net framework 4.5 and NHibernate 3?

To make my application secure I look for probable security check. I found checks like SQL Injection and etc. (I feel which are very old and prevented threats by .Net Framework and O.R.M i use.) I want ...
0
votes
0answers
18 views

Why $location doesn't work on mouseover using angular? It doesn't redirect me to another page

I am trying to display a page depending on which link the cursor is over. So if the cursor is over 'Page 1' link, it will display page1.html. But when I hover, nothing happens. It goes to that page ...
0
votes
1answer
21 views

Angular ui routing and permissions

I am currently using ui.router for my page routing in my Angular application but it am starting to get a bit of issues with exploiting parts of my applications to users that don't have permissions to ...
0
votes
3answers
20 views

Angular - copy factory variable into private variable

I'm using Angular service. Here is my service : 'use strict'; app.factory('Daytime',function () { var factory = {}; var _data = {}; factory.defaultCalendar = { 'kerry': { ...
0
votes
1answer
8 views

ngTagsInput get and parse data from database

When I use ngTagsInput before send to database I do: angular.toJson($scope.tags); When I make get I receive something like this in my scope {{}}: [{"text":"abc"},{"text":"cba"},{"text":"tag"}] ...
3
votes
1answer
7 views

Angular modules import with webpack - Argument 'module' is not a function, got Object

I've been trying to setup angular 1 with webpack and ran into an issue with import modules, let's say I want to import ramda from node_modules import angular from 'angular'; import uirouter form '...
2
votes
3answers
26 views

angular.js:13708 Error: [ng:areq] Argument 'homeController' is not a function, got undefined

could not reach to homeController(module controller). while clicking on "home" link getting error on console that "homeController is not a function; undefined. So, where i need to register this ...
0
votes
0answers
12 views

Redirect to URL in ASP CORE

I have problem with redirect to another controler and action in application. My Redirect Action look like: public IActionResult Redirect(NotificationItemViewModel model) { ...
0
votes
0answers
13 views

AngularJS 2 setup in Eclipse with TypEsc plugin

I am trying to setup a web project in Eclipse using AngularJS 2 and using the typescript plugin TypEsc (http://typecsdev.com/). I have managed to get TypEsc working to the point where it compiling ...
0
votes
0answers
21 views

Adding Users to an array in existing Mongodb collection - Mongodb

I have a collection named "tasks". var newTask = { name: req.body.newTask, room: req.body.newRoom, users: [req.body.newUser] }; I want to insert users in ...
0
votes
0answers
13 views

Where can I find and how can I use an Typescript interface file for ngCookies?

I have code like this: var app = angular.module('app', [ 'angular-cache', 'angular-loading-bar', 'ngAnimate', 'ngCookies', 'pascalprecht.translate', 'templates', 'ui....
0
votes
2answers
27 views

Input text like account number [on hold]

Account number input field image i want input text as shown in the image like in input text field where text are seen like star and after some text last 4 digit will shown.How it can be done in ...
0
votes
1answer
15 views

How to test service using library that uses its own XMLHttpRequest instead of $http

I got an angular service look like function userService() { // A library provide methods that not used $http service and not $.ajax either this.lib = theLib; // This one will invoke "api/v1/...