AngularJS (a.k.a. AngularJS 1) 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 ...

learn more… | top users | synonyms (2)

0
votes
0answers
6 views

angularJs form not adding object to array properly

I have started a demo app and come across this problem where my parts that I am adding to the repairs are not being properly proccessed. This is my first angular that I am building. To get the bug ...
0
votes
0answers
2 views

Can I still use `gulp-ng-html2js` for an angular app that has implemented partials through `ng-include`?

I am trying to study the content at https://www.npmjs.com/package/gulp-ng-html2js... and it recommends the code below to fill in the Angular template cache, and prevent loading the html templates via ...
-1
votes
0answers
9 views

Which event triggered on ng-app? -AngularJs

I have been started learning AngularJs from last few days. As it's stated in angular it's scope starts with ng-app directive. And when I inspect it, It gives a class their on that element class="ng-...
0
votes
0answers
9 views

AngularJS theme color picker issue

http://codepen.io/anon/pen/MJbagW In the above codepen , i have the theme color picker and it changes the color based on the button clicked. Issue: i was wondering if it could be changed into this ...
0
votes
0answers
9 views

Only Number keyboard in Android using Cordova

I am asking the same question as this one but the question is very old and I am wondering if there is any direct answer to this one.As I recently saw this in an app with this keyboard Is this kind of ...
0
votes
0answers
5 views

Can not use PrimeNG in Angular CLI

I try to use the PrimeNG in angular CLI but It doesn't work @@! Component.ts import { Component, OnInit } from '@angular/core'; import { ToolbarModule } from 'primeng/primeng'; @Component({ ...
0
votes
1answer
12 views

Getting 'md-select' can't be found

Trying to learn some basics in Angular. I'm trying to get categories data in my json file. I have this in my html: <md-input-container> <label>Category</label> <md-select&...
0
votes
1answer
16 views

Angular get JSON data with ajax

How can I get json data via ajax with angular? I tried a lot but my code is not working. My code: <!DOCTYPE html> <html lang="en" ng-app="test"> <head> <meta charset="UTF-8"&...
0
votes
0answers
8 views

AngularJS: Flash error bug when placing display event under error handler

Currently using angular-flash for conditional flash errors after API callback. Basically, I have this simple code: $payments.withdrawal() .success(function(data) { $payments.set('eid', ...
0
votes
1answer
11 views

controller and template of child state is not getting invoked. Transitioned from sibling of child's parent state

I am new to angular js and ui router. i am planning to design a angular js ui routed app. I have a two states, state A and State B. State B has child state. on the landing page of the app (which is a ...
0
votes
0answers
10 views

Pagination in AngularUI Bootstrap doesn't shows up

I have a problem with pagination in my app. I did it in AngularUI Bootstrap with example from here: https://angular-ui.github.io/bootstrap/ and pagination doesn't works - like in title, doesn't shows ...
0
votes
2answers
11 views

Angular - how to chain a promise ($state.go function) to a timeout function?

I m trying to chain a promise to my 'timeout/typewriter effect' function, so once he function is finished another function should be called which is a simple $state.go. Ive been researching and ...
2
votes
0answers
19 views

Angular 2 Firefox not detectChanges but Chrome does

I have the following code that works in Chrome without this.cdr.detectChanges(); (cdr: ChangeDetectorRef) this.channelService.sub(id) .subscribe( (x: ChannelEvent) => { ...
0
votes
1answer
38 views

.then is not defined on devicesIsReady

I'm getting the following error: Uncaught TypeError: loginService.verificarSesion(...).then is not a function I think I don't understand perfectly promise I need to check if the user is logged in ...
1
vote
1answer
12 views

AngularJS/Javascript ternary operator code explanation required

I saw this code in Angular Material web site : function querySearch (query) { var results = query ? self.states.filter( createFilterFor(query) ) : self.states, deferred; if (...
1
vote
3answers
15 views

Can't pass a parameter to my ui Modal with AngularJS

In my angularJS app, I'm trying to pass a parameter to a modal popup so that when the Modal link is click, a name is displayed in the popup. The modal link is coming from a custom directive which is ...
0
votes
0answers
14 views

Login routing on client side - Spring

In this Tutorial the author states that we need to implement a routing definition in the client side when login, but the spring security already provides that without the need to be implemented on ...
0
votes
0answers
15 views

How to display word document received as json field in AngularJs popup window

Here is the problem: Got list of documents from JSON API. This endpoint returns actual document plus other fields. Here is the sample response from JSON api: { docId: 1223, TypeId : 'ABC', ...
0
votes
1answer
12 views

How do I register a user, while using Angular.js and then connecting to a Rails API?

All I want to do is have a Angular on the front-end connect to a rails api to register/login a user. I need help on how to authenticating. A CORS gem was installed on the rails api. If there is any ...
1
vote
2answers
30 views

ngRepeat not updating after ajax call

This is part of my view: <div class="chartspanel"> <div ng-repeat="(key, chartData) in main.chartsData" class="chart-box"> <div class="ibox"> <div class="...
0
votes
0answers
16 views

merging on two objects together but only the changed and new leafs

I am working with angular 1. I have a simple API that delivers objects via socket once every 10seconds. The response is an object that should update the existing object used to generate the ang1 ...
0
votes
1answer
13 views

Using ng-repeat, filter, and uib-popup-datepicker to filter table column results

I have a common scenario for an angular application I am working and have not been able to solve this pattern. I've searched thoroughly for an answer to this scenario, but all like questions do not ...
0
votes
1answer
16 views

Angular 2 route with parameters re-initializing component onInit

I have an issue where my component is re-initializing when I route to it with new parameters. Here are my routes. const appRoutes: Routes = [ { path: '', component: MyNewComponentComponent }, { ...
1
vote
1answer
14 views

Disable link after click angular js

Could anybody help me with a solution. I need to make the link disabled (PAY Now) after clicking on that to avoid multi clicking. <div class="Class1" data-ng-show="ShowButton == 'TRUE'"> <a ...
0
votes
1answer
9 views

AngularJS: Component Tree & How to Handle IDs of Newly Created Entities (via HTTP)

I'm using Angular 1. I have a todo list application with a smart (container) component doing server-side interaction, and a dumb/pure/stateless presentation component that displays a list of todos and ...
0
votes
0answers
11 views

Navigating to TemplateURL in MobileAngularUI not working

I am creating a new project in MobileAngularUI and previously from Ionic project background. I am having some difficulties in navigating from one page to another using template URL and my controller ...
0
votes
0answers
17 views

Angular 1 - Global filter (search) on All values in an Array/JSON

I'm using an old AngularJS 1.x, I have a JSON object with various key/values. How can I filter on ANY of the values in the array. I want to create a global search input field and enter any value that ...
1
vote
4answers
20 views

watch not catching this.value with ControllerAs Syntax

the watch is not catching changes to ng-model="billing.inputBoxFilter". Any ideas? There are no errors. Just no output from console.log <ng-include src="'billing/billing.html'...
0
votes
0answers
6 views

Ionic view not updating on $scope change without an event

Hi, folks! I work on a Ionic Framework app. I want to select the photos from gallery and preview them in view. The problem is that the $scope is updating, but to display the new selected image I ...
1
vote
1answer
23 views

Display table data using angularjs

i tried to filter data using angularJS but table didn't display the data this is my script var app = angular .module("myModule", []) .controller("myController", function ($scope) {...
2
votes
1answer
25 views

AngularJS: How to ng-repeat from specific value

I am trying to create a template that will repeat based on certain value. For example if the total number of pages are 3 and total records are 15 then each page will have 5 records. So essentially it ...
1
vote
0answers
16 views

Angular-ui-router causing infinite loop

I'm trying to learn angular with this tutorial https://thinkster.io/tutorials/mean-stack/wiring-everything-up and I've hit a snag where opening the application runs into an infinite loop of calling ...
0
votes
0answers
8 views

Require folder of SVGs in angular directive with webpack

My folder structure is like: I'm trying to include all of the SVGs in the img/flags/1x1 and img/flags/4x3 folders. I have the following in my list of loaders { test: /\.svg(\?v=\d+\.\d+\.\d+)?$...
0
votes
0answers
19 views

use Angular local storage to store form data

I need to use Angular local storage to store form data. When a form is filled in I need to store the data to local storage and then see it in a tag. Here is my code: <form data-ng-submit="...
0
votes
1answer
47 views

Get all values of key in JSON string

I have a JSON stringified variable containing some dates with the following format: var labs = { "2016-01-07":[{ "date":"2016-01-07T12:45:00.000Z", "duration":120, "...
0
votes
0answers
12 views

Meteor Mobile need double click to make it work

all. I need a help about the mobile app. So I follow the 'todos list' tutorial of meteor angular 1, and build an simple mobile app with ionic framework. But I need to click the button or tabs twice in ...
1
vote
1answer
24 views

AngularJS 1.5 returning 404 while Express routing is functioning

I can view my db data by going to "/api/users". However, when trying to get the data with AngularJS 1.5 I get a 404. I think the issue is that the Angular routing is attempting to get to that actual ...
1
vote
1answer
23 views

Angular2 Grid error

I am a complete newbie to anything related Javascript, but I need to develop a rich webapp and I trying to learn Angular2 with Typescript. I am using Angular 2 (version 2.4.2) I am attempting to use ...
0
votes
1answer
22 views

Angular 2 Pattern Validator reporting invalid incorrectly…? [duplicate]

I'm working with a form for US phone numbers: let phoneRegEx = '^\([1-9]{3}\)\s{1}[0-9]{3}-[0-9]{4}$'; class PhoneFormComponent { . . . buildForm(): void { this.form = this....
0
votes
0answers
11 views

Setting Angular Material 2 theme to dark theme

I recently created an Angular Material 2 app by following this guide. Now I want to know how can I change the theme to dark or dark-theme?
1
vote
0answers
13 views

Angular-Material multiple view rendering in the content section of left side nav/menu

I going to create a webpage with angular-material. In the webpage I will show a toolbar and left nav(kind of a master page). In the content section(md-content) of the page(right side of the left menu),...
0
votes
0answers
10 views

Angular DatePicker show a Alert Confirm with date selected

i like to set a alert confirm with the date selected in Angular. So i use datepicker module in any frames and the alert confirm would be in all instances. The code below show the calendar datepicker. ...
0
votes
1answer
21 views

ngRoute not working: [$compile:tpload]

Im new to angularjs so its hard for me to figure this thing out. Im getting error of [$compile:tpload]. What could be a problem here? HTML: <body ng-app="App"> <div ng-view> ... </...
0
votes
1answer
20 views

AngularJS radio button should be validated on click

Hi have a form which uses a json data, also my form should validate on submit. not sure why the radio buttons become selected when only one should be checked. Not sure the js for the form work ether. ...
0
votes
0answers
8 views

Mix JSP with angularJS to securize an app with spring security [on hold]

I need to securize my app and I need a simple way to do it. I have an hybrid modile client and a web client connected to a REST server with Spring Boot, so I need securize angular JS and JSP with ...
0
votes
1answer
8 views

Class 'ng-invalid-required' added correctly but not removed when it should be removed

I am using $watch() to control the required attribute using the following custom directive: app.directive('checkIfRequired', ['$compile', '$timeout', '$parse', function ($compile, $timeout, $parse) { ...
-6
votes
1answer
29 views

Jquery doesn't see elements created with AngularJs [on hold]

I got a problem with a table populated with AngularJS. I got a table element: <table id="tableNote" class="table table-bordered table-striped table-condensed"> &...
0
votes
1answer
15 views

WebStorm AngularJS directive tags are unknown

I am using JetBrains WebStorm 2016.3.2 and my project is uses AngularJS directives. But some directives does not covered by WebStorm. I installed angular libraries on my IDE and settings are like ...
-1
votes
0answers
25 views

How to build an “make your won” menu in javascript? [on hold]

I would like to make a menu like "Domino's Pizza" has! It's a make your won pizza. And I want to know how to make/build something like this: https://www.dominospizza.pt/pages/order/#/section/Food/...
0
votes
2answers
19 views

Find a mongo subcollection by id

I need help with this query. how i can find a subcollection? Collection clientes db.clientes.find({ _id: ObjectId("587cc2d8704ae610d3741e6b") }); { "_id": ObjectId("587cc2d8704ae610d3741e6b")...