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
10 views

Angular: ng-click with dynamic variable

I have an index page displaying a table of all the 'acts' in my db. Basically, what I'm trying to do is this: instead of loading a new view when I want to update one of the acts, I want to render a ...
0
votes
0answers
3 views

geojson in angular-leaflet-directive with MEANjs

I'm trying to duplicate this example from angular-leaflet-directive, but using the Angular MVC framework that is implemented in MEAN.JS. angular-leaflet-directive accepts and displays the correct ...
0
votes
0answers
4 views

I want to update map with the user's location co-ordinates. The map is first rendered but not getting updated

I am trying to update the map coordinates with the user's location. Right now what is happening the ng-maps is getting loaded with defined constants. Geolocation service gets the user coordinates but ...
0
votes
1answer
14 views

Improve AngularJS directive code

I wrote an AngularJS directive, but I'm pretty new about it, and I don't know if I done in the "Angular way"... Here is my plunker with the code: http://plnkr.co/edit/X1tOk4z8f6dCK3mfB7HP?p=preview ...
0
votes
2answers
16 views

AngularJs - How can I get the response of an interceptor on my own defined service

I have an Angular app with a service (EqService), for which I want to know the Timestamp Marker in the asynchronous call. I'm using request and response interceptors. The key components are like so: ...
0
votes
0answers
4 views

Running more than 10 tests on karma using jasmine causes: “ERROR: Some of your tests did a full page reload!”

So, this is my first project where I'm using Karma and Jasmine to unit test my angularJS code. Used Yeoman angular generator for the setup. As soon as I reached 11 tests, I got an error saying "Some ...
0
votes
0answers
7 views

Angular ng-messages require error inside UI Bootstrap modal

Im trying to use ng-messages for UI validation feedback inside a UI Bootstrap modal. (http://angular-ui.github.io/bootstrap/#/modal). Every time the modal is opened I get this error. ...
0
votes
0answers
4 views

AngularJS & Plugin Combo Issues (Ionic)

I have an ionic framework using the tabbed slide-box and have a tag in each tab using ng-include to embed my html files in my templates directory. I have a plugin using stripe, but am unable to get ...
1
vote
1answer
7 views

child state should load a directive inside parent ui-view

i have this config: $stateProvider .state('ShowTabForm', { url: '/ShowTabForm/:id/:title', templateUrl: '/app/templates/pages/ShowTabForm.html', ...
1
vote
2answers
17 views

How to get access to an HTML video element in Angular2

I have an HTML5 <video> element in an Angular2 component. I need access to it in order to check the duration before allowing the user to share it to Twitter. Is there any way through model ...
0
votes
0answers
6 views

Reading child of an automated unique ID in a nested ng-repeat

How do I get data of a child of an automated unique ID in a nested ng-repeat, if the ID is not in the first level? My firebase data set is structured as such: John:[ 10-12-2015: { ...
0
votes
1answer
11 views

Angular Bootstrap Modal Counter

I am using Angular and would like to display a modal bootstrap dialog which I have done. I cannot work out how to do the following: I would like the user to Click 'Add Another' which will increase ...
1
vote
0answers
3 views

angular unbind inserted array

I creating simple order system for store. Adding product to cart ,inserting, order, removing cart product is working. After some test i found error and i don't found how to fix this on google. I ...
0
votes
0answers
9 views

How to bind properly to a service property in AngularJS?

I have a factory where I have a couple of predefined partners (it could be anything else, I thought it's an example that's easy to understand). On run time, we select the current partner (based on ...
0
votes
4answers
40 views

remove value in a disabled input if value is not true

Input is initially disabled and will only enable if the condition is equal to value=2 then if you select back to value=1 input will be disabled (all good) but how can I remove the value the user typed ...
0
votes
1answer
18 views

Using AngularJs directive to update input value

I'm trying to update my weatherApp input field <input type="number" class="hidden-input" ng-model="updatedWeather.SurfaceWind.Gust" winds></input> by using an Angular Directive: ...
0
votes
0answers
8 views

How do I get native smooth scrolling using Ionic, Angular and Cordova?

Here's my environment: Visual Studio 2015 Cordova CLI: 5.3.3 AngularJs: 1.4.8 Ionic: 1.1.1 Test mobile device: Nexus 5, Android 6.0.1 (The goal is that the app should work in Android and iOS, but ...
0
votes
1answer
6 views

is possible angular bootstrap $modal with two controllers

I need a modal to contain two controllers in order to reuse code. One of them is defined in the open function and the other one inside the template. The internal one controls only some part of the ...
0
votes
0answers
4 views

How can we switch the theme in Ionic App from Lighter version to darker version ?

I have two CSS file generated, One for lighter Version and other for darker Version. So please let me know how can i maintain two theme for same App? Any idea how can we implement it on ionic app ...
0
votes
0answers
15 views

How to build up a dynamic json document from an array of strings in javascript

I will start by saying I do know how to use the javascript JSON library, my question is not as simple as that, so please do read the detail not just the title, as I couldn't express it well in the ...
0
votes
1answer
23 views

How pass a ng-model object instead of a value inside of a directive?

I made an input directive to use it in multiples forms, so I need to pass a ng-model object instead of a value inside of a directive at submitting form. Here is the code HTML: <form name="formo" ...
3
votes
0answers
14 views

Does Aurelia have ng-template alternative

I am curious is that possible to compile Aurelia js application to one minified.js file. With templates to avoid extra requests at production? Similar like ng-template ...
0
votes
2answers
11 views

passing objects from view to view in angularjs

How I can pass object from page to page with $stateProvider in angularjs? Can you give me some code snippet? I'm new in angular Thanks in advance
0
votes
2answers
21 views

Angular.js : Calculating the total of a list of numbers

I need to have a list of numbers display with the total. When someone enters a new number into an input box, the number will be added to the list displayed and the total will change accordingly. ...
0
votes
2answers
13 views

Angular storing server data in a global service. How do I ensure it is there

I have a globalDataService in my app that reads a couple of entities from the server. I only want to read the data once, and then serve it up via a method on the service. Here's a simplified version ...
0
votes
0answers
6 views

Not self select Filter Anguler JS

I'm trying to exclude the current object from a multiselect dropdown. I use the plugin angularjs-multiselect-dropdown. Here is the html code: <div name="editSuspensiveAbsenceTypes" ...
0
votes
0answers
15 views

Open the two tab with different url in each tab on ng-click

I have the hyperlink like this in my view: <a ng-switch-when="true" href="" data-ng-click="goToTest(data)"> {{data.current_state_title}} </a> On controller my goToTest method using ...
0
votes
0answers
8 views

reCaptcha rendering in angularjs SPA app

My ReCaptcha call script sits inside of the "head" tag of an index page. <script type='text/javascript'> var captchaContainer = null; var loadCaptcha = function() { ...
0
votes
2answers
18 views

ng-model - getting name and value of input box

I have an update function and a number of input boxes. Each input has an ng-blur attached to it so that the update function is called whenever the cursor leaves the box. $scope.update = ...
0
votes
0answers
9 views

intl-tel-input in angular js is not validating when I enter a single digit

I am using intl-tel-input in one of my forms and when I enter a two digit or three digit number and try to save it a validation error is thrown saying that the number entered is invalid. But when I ...
0
votes
0answers
21 views

how to push selected values in checkbox list using angularjs

i have check box list in that i want to push selected values.if i push that value into checkbox list it should be checked .here i pushed Samsung Galaxy S6 .if i put Samsung Galaxy S6 .we need to check ...
0
votes
0answers
14 views

How do I data bind to arrays in Angular 2?

I'm trying to figure out how to data bind to arrays in Angular 2 so that changes are reflected. I have a sample todo app with an array property get tasks(): TaskItem[] { return this.taskdb.tasks; ...
0
votes
1answer
10 views

Promise resolved too late in angularjs jasmine test

I have the following jasmine test written with ng-describe, run with karma. (I am using es6-promise polyfill for PhantomJS) var myModule = angular.module('MyModule', []); ...
0
votes
0answers
37 views

Difference between methods for AngularJS checkbox

http://jsbin.com/ragupowoza/edit?html,js,output I have an object named meta { "content.categories": [ "animation", "documentary" ] } and I'm putting them in a checkbox. What I would ...
0
votes
0answers
5 views

ionic geolocation change marker place

I use Ionic geolocation to tracking client place , but the marker does not change her place , please any one can help me , this is my controller code: app.controller('mapCtrl', function($scope, ...
2
votes
1answer
18 views

not able to load angular-mocks.js in karma and protractor for testing

I'm trying to load angular-mocks into my testing env. but I'm running into issues. I have my karma config like so... 'angular/angular/angular.js', 'angular/angular-mocks.js', ...
0
votes
2answers
21 views

selecting radio button by default in angularjs application

Please find the plunker for radio buttons. I am expecting when I select radio button, the selected object from $scope.itemList to be assigned to selectedItemDetails but it is not happening. And also ...
0
votes
0answers
8 views

How to use google map in ionic cordova?

I added the google map plugin to my project with this command: cordova plugin add cordova-plugin-geolocation after i use this tutorial http://codepen.io/ionic/pen/uzngt ,i use in my page index.html ...
0
votes
1answer
8 views

Karma Not Running - cannot find module gulp

I'm trying to set up karma tests with Jasmine on my Angular project. I can't get basic test `it("dummy", function() { expect(true).toBe(true);` to run, and I'm getting the error: ...
0
votes
1answer
18 views

Converting angularjs menu directives to support ui.router

I found a nice hover menu implementation online. it works great for assigning hrefs. I wanted to convert it to work with ui.router states and sref. I added a href and sref value on the menu data ...
0
votes
0answers
15 views

Angular ng-show flickering in IE 10

I have an issue with the angular ng-show directive. I have 2 buttons which are working like a toggle button. index.html <button class="btn btn-primary" ng-show="!isShow" ...
0
votes
0answers
5 views

Why in textAngular textbox add dynamic html control tag event are not fired

Work on angular,On my textbox by event ng-keypress want to extend html as dynamically for paragraph tag to display TextBox tag <div id="textAngular" text-angular ng-model="htmlContent" ...
0
votes
0answers
14 views

Handling 404 with Angular2

Is there any way to configure Angular2 router to redirect to specific route, if invalid path is entered? For example if I have three routes: /home /about /404 and I enter /trains (a route, not ...
0
votes
1answer
31 views

Angular JS Controller Function not being stepped into

I am attempting to simply throw some JSON data onto a page from a GET call. This is my HTML (Please be aware this is loaded into index.html which has the correct angular notation): ...
0
votes
1answer
41 views

Simple angular app

I was wondering if someone knows who to start an angular app in node / bower but without all the e2e testing or all kind of things (angular-seed). I just want a simple structure that is somehow ...
0
votes
2answers
24 views

how to filter nested json data in angularjs

I have a json data like this: { "body":"message1", "date":"2015-..", "folder":{ "itemId":"3", "name":"type1" }, "subject":"subject" } I am trying to filter based on folder.name. this is my ...
2
votes
1answer
30 views

Isolating scope in AngularJS directive

I'm pretty new with Angular and I'm trying to write my own directive to learn how these objects works. My problems regard on how isolate the scope of my directive so I can use it many times in the ...
-2
votes
0answers
20 views

How do i create a subdomain in Nodejs and Angularjs [on hold]

I am trying to create a subdomain for my app so that when a user signs up with a username, it changes the url to the username of the user e.g. host = www.logos.com and when user signs up with ...
1
vote
0answers
20 views

Working with API's in a Angular project

I am newbie on API's so this question might be silly. I am trying to structure login / register on the Angular project and I have API for this. But I checked a lot of login / register structure. They ...
0
votes
0answers
8 views

UI-Bootstrap-Typeahead - Form-Validation (Duplicates)

I created a Form for adding an unlimited number of players to a match. Their usernames can be typed manually or selected on the UI-Bootstrap-Typeahead. Because a player can only be added once to a ...