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

Is there any way to find phone number from string?

i am stack to finding a filter or any way to find a phone number from string .actually i get a response in string and there is a phone number too and client want to make link because of smart-phone ...
1
vote
0answers
3 views

parse.com POST call from angularjs CORS error

I am using parse.com cloud code and has a function inside, which is called using a https post call from my angularjs. When I test the same function from POSTMAN REST client it works. But from my ...
0
votes
1answer
8 views

making http request depending on the result of a previous call

How to make this more elegant. I found many example to make multiples request using $q.all() but nothing about making a request depending on the result of a previous call. $scope.data = []; ...
0
votes
2answers
14 views

AngularJS empty form validation bugs out

I have this form where the input by the user need to be passed from the form, to the controller and then published inside the PHP database. When I click submit, and the inputs are empty, the false ...
2
votes
1answer
35 views

Text property in script tags - Clarification?

While reading angular's directives code , I saw this : var scriptDirective = ['$templateCache', function($templateCache) { return { restrict: 'E', terminal: true, compile: ...
0
votes
1answer
19 views

Angular simple routing is not working

I'm tring build single page app, but i have problem with angular routing it doesnt work. I'm using spring boot, thymeleaf and angular 1.4.8. I'm basing on this example ...
0
votes
0answers
8 views

ng.Net Template in Visual Studio is very slow

I'm trying to use the ng.net template (in visual studio 2013) to build a web app, but it is very slow. Every time i try to access any page it takes for ever. I haven't done any modification to the ...
4
votes
0answers
16 views

How to avoid parse error on angularjs while using mathjax to view html from server

I'm trying to use mathjax in angularjs. I have a lot of html content in the server and it requires edits also. This is the directive I'm using to trigger mathJax to render. app.directive("mathTex", ...
0
votes
0answers
21 views

How do i organize my angularjs page?

I'm trying to create my first angularjs page. A small wishlist to my family. My simplified html: <body ng-controller="memberController"> <nav> <div class="container"> <ul ...
0
votes
1answer
16 views

Directive with template thet contains few quotation marks iside each other

I have an html component: <div style="width:500px;"> <div ng-repeat="day in week" ng-class="{true:'possibleDayStyle', false:'notPossibleDay'}[day.selected]" ...
2
votes
1answer
17 views

Module 'templates' is not available! in angular js?

I am trying to test directive in angular using Jasmine. I installed karma-ng-html2js-preprocessor using NPM. Then I istalled jQuery using Bower but I am getting this error Connected on socket ...
1
vote
0answers
3 views

Angular+Firebase - Access-Control-Allow-Origin error, on a simple $http request

I'm trying to use Firebase with Angular to get a user's Access-Token, in order to retrieve his contact list later on with a $http.get request to google's API. the first part is doing well, a popup ...
0
votes
0answers
6 views

Angular.js UI-ROUTER: ui-sref is not adding the hash tag(#) in href parameter

I have one problem.I am using UI-ROUTER of Angular.js in my app.I am explaining my code below. <li ui-sref-active="active"><a ...
0
votes
0answers
8 views

How to create/change a theme at runtime

I want to implement a custom theme selector. That mean choosing a color for primary, accent, warn and background, it does not mean selecting a predefined theme. When the user has changed a color I ...
0
votes
1answer
14 views

Pass id from angularjs within django url

I have created a filtered search list to search for some items from the database and show them in a list view. What I am trying to do is to display the items as links to their details pages. since I ...
0
votes
2answers
16 views

Keep getting injection modulerr error on AngularJS

I use the following code to create an angular app, using routes and controllers. (function() { angular.module('eCommerceApp', ['ngRoute']) .config('$routeProvider', ...
1
vote
0answers
12 views

Unable to get uploaded file name using angularjs with php

I am try to upload multiple files with different title but unable to get uploaded file name. Here is my html code. <div class="nav-md" ng-app="fileuploadModule"> <div ...
1
vote
0answers
14 views

HTA gives error in combination with angular

I made a angularjs HTML SPA that works fine.In a specific situation I need the power of a HTA. As far as I know there are no restrictions in using a HTA in combination with angular or any other valid ...
2
votes
1answer
26 views

Removing the # from AngularJS Routing

I checked Single Page Apps with AngularJS Routing and Templating tutorial and found Pretty URLs in AngularJS: Removing the # tutorial for remove # tag from URL. I did all the things but I can't get ...
0
votes
0answers
8 views

AngularJs create shared components

I my project I have sidebar with charts and I need depending on the selected tabs render other data in charts, and I don't know how to do it. Because after click to home tab I need render all data ...
0
votes
0answers
9 views

How to implement angularjs in yii2

I want to implement angular js in yii2 advanced template, but i dont know where should i have to keep angular js file so it can be accessible by both templates(frontend & backend). Please anyone ...
0
votes
0answers
15 views

Can not get the page when opening the link by right click using Angular.js and PHP

I have one issue.I have one Angular.js app when user is trying to open the page by right click (open link in new tab) on a menu its not coming at all.I am explaining my code below. <li ...
1
vote
1answer
23 views

Redirect unauthenticated user to default URL with node.js and angularjs

I have used node.js restify and angularjs to create a web app with no user administration. Now, I would like to add the user administration feature. Users need to login to gain access to the web ...
0
votes
0answers
8 views

Are UI-Router/ngRoute based web apps SEO friendly?

While this was question was already asked before here, I prefered to ask again to get an updated answer. Does web apps that use AngularJS' UI-Router/ngRouter based websites play well with google/bing? ...
1
vote
0answers
18 views

Angular routing in Spring Boot web application

I'm developing some project using angular and spring boot and I have some confussing situation: I have Spring Controller to share view file names with my application @Controller public class ...
0
votes
0answers
18 views

Angular 2 and MySQL concepts

are there recommended concepts how to access MySQL from an Angular 2 application? I'm new to Angular and Typescript. I found and installed the node-mysql package. I would like to SELECT some datasets ...
0
votes
0answers
32 views

how to check property of directive in angular js?

I am a simple directive with isolated scope .I need to test that directive using jasmine and karma .I make this directive like that .directive('helloWorld',function(){ return { ...
0
votes
2answers
22 views

passing model into a variable using angularjs

I would just like to ask if it is possible to pass a model like this {{ ngModel | date: 'MM/dd/yyyy' }} into a variable for me to be able to pass it to another input type? If it is, how? thank you
1
vote
0answers
25 views

Angularjs divs blocking semanticui css

i have two .event div in .ui div. First div is dynamic and angular-js wrap this loop with .ng-scope. This divs blocking that css selectors in semantic.ui .ui.feed>.event>.label img { width: ...
0
votes
1answer
25 views

Is it wasting resources to continuously check the value of a field with AngularJS?

I have this code: <label> Text {{ ers.verify(cos.contentForm.contentText, 5) }} </label> <textarea id="contentText" ...
0
votes
3answers
22 views

Custom filterable dropdown menu using AngularJS

What I am trying to do: A custom filterable dropdown menu. The list item gets dropdown on-focus on input element . The options are selectable and it's text should appear in input field when clicked. ...
0
votes
0answers
21 views

ng-repeat not populating <select> options

My ng-repeat is not working. I'm trying to use it to traverse through this JSON object tags.tagNames. I know that the JSON object is in the scope and working, as I have it displayed above the element ...
0
votes
1answer
14 views

Form is not accessible inside controller

I have this ionic page: <ion-view view-title="Sign up for business"> <ion-nav-bar class="bar-positive"> <ion-nav-back-button></ion-nav-back-button> ...
-1
votes
2answers
36 views

angularjs Transfer data between pages

My English is very bad,at first Controller,I post data form The server,and i got a $rootScope.YD for Transfer data .but when i use the YD in the second page,it does't work.can you help me ? ...
-1
votes
2answers
22 views

Using only this in controller get $emit in Angular

Can we use only this in controllers, without $scope? In some cases of course yes, i know... But... If we need $emit, $broadcast and some other angular features, which we can find only in scope? ...
0
votes
0answers
17 views

How to set root path using Angular.js UI-ROUTER

I need one help.I am including one angular app inside my existing PHP project.I am explaining my code below. <?php if(in_array("Info",$userrights)) { ...
1
vote
1answer
26 views

angular scope object issue

PROBLEM: I created one var object and inside that var object i am referring to slider scope object. so when I will use my slider it will update scope object but not update in reference ...
2
votes
0answers
28 views

Unable to interpolate an array which is inside of an object property

This is just a Sample Code this is my .js file SCPApp .directive('scocurepeater', ['$sce', '$compile', '$timeout','$interpolate', function ($sce, $compile, $timeout, $interpolate) { ...
0
votes
0answers
7 views

Angular-UI-Grid: Where can I find further documentation about onRegisterApi with all its events?

In the code below, you see e.g. on.navigate, how many possibilities are there (on.change, on.delete, ... ) ? Is there any documentation about it, somewhere? $scope.gridOptions.onRegisterApi = ...
0
votes
0answers
5 views

Move opened uib-accordion-group to top

When a user opens a uib-accordion-group I wanted to make that group move to the top of the list, so I decided to put an ng-click on each uib-accordion-group tag and move them in code like so: ...
1
vote
1answer
23 views

close window in angularjs on specific url angularjs

I am new to angularjs , so this question might seems silly to experience ones , But i really not able to perform this , can any body tell me that how to come back to app from webview after reaching to ...
0
votes
0answers
17 views

Using $rootScope to change background image of body in angular

I am using routes and would like to change my background image when I am on a specific route. For some reason the background image does not change/is not reading the value of my rootScope. I make the ...
0
votes
1answer
29 views

How to read ng-model data if I have used default selection option?

I have used the following code to bind my cost center information and also set the default. Controller: I have some logic to populate costCenterList. say it has the following data: ...
0
votes
2answers
16 views

Add class to a div dynamically in angular js

I have a div like this <div ng-model="star"></div> I want to add a class 'active' to this div in angular js. I tried like this in my angular js controller ...
1
vote
1answer
23 views

Passing variables between views

I am building an AngularJS app. I will have a users view which will have a few tabs: User Listing Account Contact etc Basically, everything under "User Listing' should be disabled until a user is ...
0
votes
1answer
13 views

Mongodb CRUD operation with Angularjs and nodejs - How to get message from database if data is already exist?

In controller.js: angular.module('CRUD').controller('myController',['$scope','$http', function($scope,$http){ $scope.sendData = function(){ console.log($scope.data1); var formData ...
2
votes
1answer
19 views

Ng-if to not display adsense ads on angular localhost

I'm using the following to attempt to stop adsense ads from loading in angular" <div class="" ng-if="window.location.host.indexOf('localhost') < 0"> ads here </div> The script logs ...
2
votes
0answers
13 views

Using $scope.$destroy solves memory leak but breaks directive

I have a child directive that is quite dynamic running in a TypeScript AngularJS application. The template and the controller are attached at runtime based on what it needs to do for a given situation ...
0
votes
0answers
22 views

Move items in one list to another list

I'm using Restangular to get, post, put, and delete data in AngularJS. I have a grid view that has details about guests, VIPs and black listed guests. I'm trying to move people in guest list to VIP ...
0
votes
0answers
8 views

Getting state error using Angular.js ui-router and PHP

I need one help.I am including one angular.js app inside one PHP project.Here I am using UI-ROUTER but getting the following error. ERROR: angularjs.js:107 Error: Could not resolve ...