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.

learn more… | top users | synonyms (2)

0
votes
0answers
3 views

How to watch multi fields with angularjs formly?

I have six product dropdown in two fieldgroups, when user pick any one of them, I need go through all six and get a summary. With Formly, I am not sure what is the right way to do it. It seems in ...
0
votes
0answers
4 views

Facebook SDK not loaded during the call to get login status

I am using Facebook SDK to build an application however I am faced with a challenge, I try to get the login status of the user before I redirect him to his profile page, however during the call to get ...
0
votes
1answer
4 views

angular-materials creates a ton of inline css

I've just added angular-material to my project (source) and it works fine, but I've noticed that when I run it, there is an absolute ton of css added inline to the <head> of my pages. I mean, ...
0
votes
0answers
3 views

how do I turn off google analytics while using angulartics

I'm using Google Analytics with Angulartics in my webapp. I was getting a lot of noise from my app when developing locally so I turned off Google Analytics by just not loading the script if I am ...
-1
votes
0answers
6 views

how to load actual dependencies into a angularjs test with jasmine and karma

I have been looking around online, but seems, no one really injecting the actual dependencies into a unit test for angularjs using jasmine and karma... I think there is definitely a separation of ...
1
vote
0answers
9 views

CSRF token missing, Ionic - AngularJS FullStack

I Have a project with the backend on a MEAN stack started with AngularJS Full-Stack generator and an app under Ionic, when i try to do a POST request to do a login from the Ionic app the server says ...
0
votes
0answers
7 views

Protractor to get value of textarea with line number

I am using Protractor to test my Bootstrap AngularJS application. The textarea "input" and "output" are have line number associated to it. So, when I check the value of "output" textarea using ...
0
votes
0answers
3 views

Visual Studio 2013 doesnt update the changes in the file

Im devleoping a spa website with angularjs , and before i changed something in the properties of the solution its all worked fine. but then i tried to change the url address from : ...
-2
votes
0answers
10 views

Angular JSON Numbers summation

I am new in angular.js and I need to make form with 2 fields for numbers and when I click on submit i need to send to server with json for request result of suma. It will look like: 4 in first field , ...
0
votes
0answers
8 views

Angular: how to express a bound value within a bound value

I am trying to load an image based on media query state. Straight css (using <picture><source ...> ...) seems sketchy, as well as <img srcset ... >. And I want to avoid javascript ...
-3
votes
0answers
17 views

Connect index to var (angular)

I have ng-repeat loop and i want to show an alert. <div data-ng-show="show_{{$index}}" class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" ...
0
votes
1answer
10 views

Nested brackets in html/Angular

I'm currently stuck trying to access a value in jade from Angular. The simple code snippet is shown below: td(ng-repeat="part in part_arr") {{part_obj_val[{{part}}]["percentage"]}} When I replace ...
1
vote
0answers
9 views

What is a good way to do AngularJS databinding in a HTML file that is requested by server side NodeJS?

I have an HTML file which I import in my nodejs file. How do I go about doing the databinding in HTML file so that when I request the file, the AngularJS databinding will be executed? Right now, using ...
0
votes
0answers
17 views

Inheritance in Angular Directive

Is there a good way to implement inheritance with Angular Directives? For instance, if I have a directive called graph, and then I want to have specific directives for types of graph (eg: barGraph, ...
0
votes
2answers
9 views

ES6 Setters | error TS2300: Duplicate identifier

I am currently writing a class for an Angular 2 component that is using Input/Output decorators and a setter like so: export class ItemDetails { // Assign our `item` to a locally scoped property ...
0
votes
0answers
10 views

Email does not send in Laravel API after writing to database

I have an AngularJS 1.5 application which is working with a Laravel 5.2 API and I'm trying to send emails at different points in the application. So I'm able to send data to Laravel and it gets ...
0
votes
0answers
10 views

Angular 2 App Reloading on Route Change

I have an angular 2 app with the following routes: @RouteConfig([ new Route({ path: '/', component: Home, name: 'Home', useAsDefault: true}), new Route({ path: '/employees', component: ViewEmployees, ...
1
vote
1answer
8 views

How to use/seperate Enums, constants & locators in Protractor

I am trying to make my tests more cleaner/parameterized by moving the enums, constants & locators to other files. Is there a way to do this while using protractor/java script. If yes, What is the ...
0
votes
0answers
8 views

AngularJS Library: Minimal Internationalization

I'm working on an AngularJS library. One of my components displays a single word. Assuming I can get sufficient translations, what's the best way to internationalize the word in the UI without much ...
0
votes
0answers
4 views

Intellij Idea AngularJS not working

I am trying to use angular JS in intellij IDEA 13.1.3. I have loaded and enabled angular JS plugin and enabled it. But this doesn't show in the new project template. How do I make the angular js ...
0
votes
0answers
15 views

Sending get data to php via angular js

i am trying to send the data in get to php from my angular my angular js $scope.category = function (catId) { $scope.categorys = {'catId':catId}; $http({method: 'GET',url: link + ...
0
votes
2answers
22 views

Templates failing when navigating to them

I am working on creating a website. This is a very basic issue. When I click on different routes from the homepage I get a 404 error. I just don't see what is wrong with the code this early in the ...
0
votes
0answers
13 views

Interpreted as Stylesheet but transferred with MIME type text/html:

I'm working on an Angular.js app, but my css simply won't load. Chrome's console just prints out the message(question title). I've tried adding the .htaccess file with AddType text/css .css, Chrome ...
0
votes
4answers
26 views

How to call a controller from another file in AngularJS?

Let's say I have the following files: JS1 file: var app = angular.module('myApp', []); app.controller('myCtrlOfJs1', function ($scope, $http) { $http.post("url", data).success(function(data, ...
0
votes
1answer
8 views

Creating AngluarJS Apps but don't have a server side option for SEO Friendly URLs. Will This Work?

I am creating an angular app that is hosted on a webserver that doesn't allow me to edit htaccess files or webconfig. There is no server side language option available which means no middleware for ...
0
votes
0answers
9 views

Can't get error from returned object- ng-file-upload- Angular

I'm using ng-file-upload with ngImgCropExtended. All works great, the only issue I have is that when validation fails it fails silently, with no notification to the user. I added ...
-1
votes
0answers
6 views

$.ajax() equivalent in AngularJS ngResource and $http calls

In jQuery Ajax we can write, $.ajax({ type: 'POST', url: URL, headers: requestObject, data: dataObject }) But what is the equivalent in AngularJS ngResource and ...
0
votes
0answers
4 views

Issue with grabbing a flexible id from get request and pass data to controller

I am working on a Angular Firebase app where I would like to click on a recipe name that comes back from the search to the API and get all the details of a specific recipe shown in another div. I am ...
0
votes
1answer
6 views

Resizing canvas causes ionic app on emulator to freeze

I am trying to create an ionic app that allows the user to sign their name on a canvas. I use signature-pad.js https://github.com/szimek/signature_pad to create the signature. When I run the app on ...
0
votes
0answers
5 views

Separate Grunt Task with Authentication and without Authentication

The current problem we're facing is that we want to have two separate grunt tasks - one to spin up our application with authentication as a part of the user flow, and the other task that isolates out ...
0
votes
3answers
8 views

Is there a way have a value not updated by an interval once the user has updated it in an angular template?

I have a chunk of html that is updated periodically from the controller. Here is the html: <tr ng-repeat="product in products"> <td>{{product.name}}</td> ...
0
votes
1answer
15 views

AngularJS call custom directive (A form) on ng-click

New to angular. I have a custom directive which basically is a form that I want to call when a click event happens when a track within an album is clicked. Something like this: - album1 ...
1
vote
2answers
18 views

Angular2 method binding error: “value has changed after it was checked”

I am trying to make a circle board in Angular2. For the example I want to make 10 circles but in reality this number can change. I want to calculate the radius of each circle, so it would be dynamic ...
2
votes
0answers
12 views

Karma Jasmine Runs Test Three Times

I am running Karma/Jasmine/Angular 2.0 tests on my development box. Just recently, Karma on my development box decided to start running my tests three times. Yes, exactly three times, every time. On ...
0
votes
0answers
5 views

ui router nested view where set resolve in or out the view block

I'm wondering what's the difference between set the resolve in or out the view block (both working) .state('app.main.items', { url: '/items', resolve: { items: function get(Service){ ...
-1
votes
1answer
26 views

What is the best pratice for create a web service and rest api?

im a front-end developer and trying to be a back-end for while, so, sorry for any newbie question. Im creating a web site that shows some informations about production for a company. Until now, i ...
0
votes
0answers
11 views

$location.path not working in Angular/Firebase site

This may be a repeat of other questions, but I haven't found a real answer yet as to why $location.path('/welcome'); does not work in the following code. It was working previously when using an older ...
0
votes
1answer
10 views

angular-nvd3 content percentage in tooltip

I am looking into ways I can display the percent of a slice of pie compared to the current graph in the tooltip. First I tried looking for something similar to chart.labelType: 'percent' but it ...
0
votes
0answers
5 views

Best way to load customer parameters in a multi-tenant angularJS application

We have a multi-tenant Angular JS single page application. The routing for the application uses a customer identifier as part of the URL - #/home/ or #/search// for instance. In theory the first page ...
-1
votes
0answers
11 views

passing parameter (SQL parameter) from page to another page in angular

i used angular to get all names from table, and display them. after that i need to press in any "name" and get his all information. when i press in the name i will get id and send it to other page ...
0
votes
0answers
6 views

AngularJS JSONP yields “Cannot read property 'appendChild' of null” error

I have added a controller to my <body> with a JSONP request made immediately in the controller, (example code) app .controller("controller", function(makeRequest){ makeRequest(); ...
0
votes
0answers
10 views

How to test service with a resource inside of it

So I have a fairly simple service function that takes a meeting resource, and decides if the user has permission to write to it based in the return status from the server. This works fine, but I am ...
-1
votes
2answers
20 views

Fail to get json url in AngularJS

I write a REST API and the api works fine in browser. But I can not get data from it in AngularJS. My code are as below. This is what the server response in browser: ...
0
votes
0answers
8 views

how to setup RouteConfig in Asp.net MVC for angular js

I am setting up angular routing for my asp.net mvc app, what I want is to redirect all the request for localhost/users/ to index page so that I can use angular's client side route except ...
0
votes
0answers
14 views

The changes on $scope created by ng-repeat + ng-controller do affect the parent's $scope?

Let's say I have the following code: <div ng-controller='Controller1'> <div ng-repeat='item in things.list_itens' ng-controller='Controller2'> </div> </div> If on ...
0
votes
0answers
5 views

Ionic 2 segment not working with Angular directives

i trying to create dynamic generated Ionic 2 segment buttons, but everytime when i use some of Angular directives, it fail. I see segments buttons, but click doesnt change anything including ngModel ...
0
votes
1answer
27 views

Bootstrap Responsive table collumns sizes

I'm having static(when scrolling on lower screens it stays on same place), fixed size first collumn(100px) in responsive table by Bootstrap. What i want is to have others collumns same size each (of ...
-1
votes
2answers
39 views

How to remove all items in smallArray from bigArray with lodash?

http://codepen.io/leongaban/pen/GZgrMK?editors=0010 I'm trying to find the most efficient way to accomplish this, in my actual app, I may have over 1000 items in the bigArray and a few hundred items ...
1
vote
0answers
21 views

Does AngularJS redraw DOM when scope updates w/ equivalent data?

I'm working on optimizing the performance of my AngularJS app. Let's say I call a service that returns an object, which is tied to the scope. If I call that service again and it returns the same ...
0
votes
0answers
5 views

How to disable vertical and/or horizontal scrolling in Angular ui grid, not just disable the scrollbars?

I am programmatically adding columns and rows to a grid generated using Angular UI Grid whenever there isn't enough data to fill the space of the page set aside for the table. I can programmatically ...