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

Angular-Gantt drawTask plugin not working

I've got a completely functional gantt chart built with Angular-Gantt. It has filters, date range and the movable plugin all working. However I can't create new tasks, even though I've implemented it ...
0
votes
0answers
3 views

why my angular form is not dirty when I have changed inputs value in my $provide.decorator?

I want extend the default inputDirective in angular.so I wrote these code: module.config(function($provide){ $provide.decorator('inputDirective',function($delegate){ var directive = $...
0
votes
0answers
4 views

Did not detect a `bs-config.json` or `bs-config.js` override file. Using lite-server defaults

I am trying to run example Angular2 project. When I try to run it I got following message in the console: ... [0] tsc -w exited with code 0 [1] Did not detect a `bs-config.json` or `bs-config.js` ...
0
votes
0answers
27 views

AngularJS array separate by comma

I have the following JSON which will be set to $scope.episodes; "the_numbers": [{ "episodeID": 16503, "episodeNumber": 183 }, { "episodeID": 16504, "episodeNumber": 184 }] From this ...
0
votes
0answers
4 views

UI Bootstrap Typeahead $digest already in Progress

Got $digest is already in progress when trying to populate data from $http.get And here is my code JSON result: [ { "id": 14, "name": "RIAU" }, { "id": 21, "name": "KEPULAUAN ...
0
votes
1answer
10 views

how to form a array of changed values in a form using ng change

If I have a form with 3 fields how can I get an array of only the changed values using ng-change while I submit the form. <form name="myForm"> <input name="myInput" ng-model="myInput" type="...
0
votes
0answers
5 views

How to get text from a textarea we entered using selenium

How can I get the text that I entered in a text-area using selenium where the text entered in the developer options in chrome and Mozilla where in IE its visible in the developer section. Using ...
0
votes
1answer
6 views

Angular Chart JS error angular-master.js:114 Error: [$injector:unpr]

I am working on Chart.js with Angular.JS my Angular app is looking like below angular.module('inspinia').controller('dashboardController', ['$rootScope', '$scope', '$http','chart.js', function($...
0
votes
0answers
6 views

gulp-inject : wrong order of js files in index.html

When I run gulp, it puts <script src="app/app.module.js"></script> of my angularjs project at the end of index.html file between <!-- inject:js --> and <!-- endinject -->. Here ...
-3
votes
1answer
11 views

Should I learn Nodejs Or Meteorjs?

I am Front End Developer and I'm working in a company , so I'm learning angularjs 2 to develop my Skills , now should I learn Nodejs or Meteorjs (cuz meteor is a full stack platfrome frontend and ...
0
votes
1answer
22 views

Detecting and validating client date change in AngularJS

In my Angularjs application I have the limitation that if user changes his system date manually, application starts using that date for all UI operations. I want to detect if user has changed his ...
1
vote
0answers
5 views

ionic handle push notification

I have received push notification using FCM plugin. when i m clicking on notifiation, app splash screen was open but i but open another screen. how can i do it? please help. app.js .run(function ($...
0
votes
1answer
11 views

can we assign value of an element to ngmodel using pure javascript

this is my sample javascript and angular code var myApp = angular.module('myApp',[]); function MyCtrl($scope) { $scope.set="somevalue"; } //javascript code function addValueUsingJavascript() { var ...
0
votes
1answer
12 views

MVC5 AngularJS data is not passing from service to controller

Hi I am developing one application in AngularJS with MVC5. I am trying to get Data based on ID from database. My server side code is working correctly. I am finding difficulties in binding data to ...
0
votes
0answers
12 views

Import Javascript Plugins into AngularJS component

I'm working on an AngularJS2 project, and I would like to use 3 Javasript plugins in one of my components (jQuery, FreeWall & MetroJS) In my component I would like to have a <script> tag as ...
0
votes
0answers
14 views

Allow cors request with CORS plugin on chrome

I am having a web app developed in angular 2 which runs on port 3000 and my api dev server runs on a different domain. So when I am making a call to the API server I get an error as Response to ...
0
votes
0answers
8 views

How to add addons to angular cli@latest?

I wanna to add broccoli-asset-rev to angular CLI brocooli-asset-rev any help??
0
votes
0answers
14 views

Pass resolve parameter to angular1 component in UI Router

I am trying to pass my resolve parameters to angular one component using ui router. My UIRouter configuration is as below :- .state(memberConstants.memberMVLicense, { url: "/mvlicense", ...
0
votes
0answers
9 views

Test angular file upload using selenium in java

I want to simulate photo upload feature of angular to test it with selenium. Please find the code below: Choose image <button class="btn btn-outline btn-primary" ng-model="file" name="file" ...
-1
votes
0answers
19 views

geting error - ‘Access-Control-Allow-Origin’ missing" while retrieving data from api in angular js

i want to get data from api which has basic authentication.i need that data in plain text in angular js . here im getting error saying - "Cross-Origin Request Blocked: The Same Origin Policy ...
2
votes
1answer
17 views

angular ui-bootstrap popover doesn't work

I got a list generated using angular 'ng-repeat', and I want if one item is clicked it will pop a popover to show some info. I tried several time but seems it doesn't work fine. see plunker a list ...
0
votes
0answers
12 views

AngularJS 1 converting to TypeScript (bind service function to controller)

In Angular 1 I was able to pass/bind a lot of functions from the service directly over to the controller. // short (just pass the function without running it) vm.logout = loginService.logout; // ...
1
vote
0answers
10 views

Preventing Direct URL to views in angular + firebase web app

I'm not an expert as I started working in firebase and angularjs a few weeks ago. I'm building a server based web application using firebase, nodejs(for server) and angularjs and I've a login scenario ...
0
votes
2answers
15 views

how to add Default word ..with my card number

how to add (Default) in my only top card..please help me... i want Visa 1881 (Default) but its show Visa 1881 Only. i want only show only top one Default <select ng-options="item.brand + ' ...
0
votes
3answers
23 views

How to use ng-template in angular?

I'm writing a client-side angular app and I have a question related to the way I can use angular's ng-template. So, I have this navbar: <nav class="navbar navbar-inverse" > <div ...
3
votes
1answer
28 views

Q: AngularJS, How can I put images into my background div?

I want to put some images into my background div. I expected those 5 image files will be in the div with ".well" class, but they just were spread out of that div. So, here's my question. How can I ...
1
vote
1answer
13 views

protractor instance does not do anything

from one to anothet day i cannot interact with the angular page i am testing. The only result i get: Started A Jasmine spec timed out. Resetting the WebDriver Control Flow. F the page has this: &...
2
votes
2answers
18 views

checked md-radio-group on pageload

I am creating a web app in mvc-5 I have taken radio button of material designing. Here is my radio button: <md-radio-group ng-model="mdgender" ng-change="changeradio()" ng-init="mdgender.Datewise=...
0
votes
2answers
13 views

view pending status data in table by default

<select class="form-control" id="selectrequest" ng-model="selectedrequest"> <option value="pending" > Pending </option> <option ...
0
votes
1answer
22 views

What is the correct way/can you chain two AngularJs service calls and then perform a function with the returned data?

I would like to chain these two service calls, and with the results perform a forEach loop to filter my data, but get a TypeError: "SocialMediaUserService.channelProfiles is not a function" message in ...
0
votes
0answers
25 views

Can't add image after deleting it from Scope ( AngularJS)

Have a function that adds and delete image $scope.stepsModel = []; $scope.imageUpload = function(element){ var reader = new FileReader(); reader.onload = $scope.imageIsLoaded; ...
0
votes
0answers
10 views

how to open and close the Bootstrap modal pop inside directive link function?

I need to open the bootstrap modal pop up inside directive under some function , how could do with in directive. Instead of these need to use angualr to open dialog. var show = function () { ...
0
votes
0answers
6 views

How to get RSS Feed use Google API within thumbnail in AngularJS

I want to get data(title, content, thumbnail,...) from this url: http://uat.specialty.mims.com/rss-feed/RSS-VN.xml. I use Google Feed API to get it. Will this API stop support? If yes, please help ...
0
votes
1answer
20 views

how to pass query parameter for get method in angularjs

I have rest API built in WSO2 ESB. This is my request in service for POST method. createUser: function(aUser) { var myCreateUserRequest = { "User": { ...
0
votes
1answer
19 views

Angular for Login page

I am working on the login page. As per the requirement I have created a login UI. Now I am trying to validate username and password. As I am new to Angular and Web Api I am unable to get the correct ...
0
votes
0answers
10 views

Lag when displaying uib-tooltip

So here is the problem, i try to use uib-tooltip, its work i see it on hover, but field it self looks like have a double layer, upper and bottom. And i cant do nothing. Exemple: <ul> <...
3
votes
3answers
38 views

AngularJS manipulate two ng-repeat

I'm calling two times the same list in my HTML5 view. <div class="list" data-ng-repeat="item in model.items"> <div class=list-item"> {{ item.name }} <a data-ng-...
0
votes
0answers
12 views

Array sort behaves incorrectly in a mobile browser

I've an array of objects which needs to be sorted by email ids, where an email id is an object key. I also have a function to sort. For example: var bills=[name: "somename",email:"[email protected]", ...
0
votes
0answers
18 views

Nodejs POST request to Angularjs

I have the following post request in nodejs (which i think it's correct since it's from the official docs) function sendToDashboard(jsonData) { var options = { host: '********', port: ...
0
votes
1answer
7 views

Testing angular sub-module can't find dependency

I'm trying to test my angular 1 (using typescript) modules, and I'm having issues with the dependencies: These are my modules: app.module.ts export const appModule: IModule = angular.module('app', [...
0
votes
0answers
23 views

Ion content is positioned very left

For no apparent reason, the content is positioned much lefter than it should be. See example: When I touch one of the inputs, everything is back to normal, like this: Someone knows what could cause ...
0
votes
0answers
6 views

How to make correction in grid that display from mobile captured data?

I do not have so much experience. I know only asp.net web based development. Currently I was enrolled in a project with web and mobile integrated app. I have a web that displays some column showing "...
1
vote
0answers
14 views

Angular Js Validation on Partial Views

Index Page @model AngularMVC.Models.Employee @{ ViewBag.Title = "Home Page"; } <style> input.ng-touched.ng-invalid { border: 1px solid red; } input.ng-touched.ng-...
0
votes
0answers
9 views

ocLazyLoad didnt load js file

when i used 'ocLazyLoad' in my code like below: var userLoginRoute = { name: 'login', url: "/login", templateUrl: "app/modules/user/loginView.html", data: { pageTitle: 'login', ...
2
votes
1answer
46 views

Angular JS multiple select box filter not working properly?

I'm learning angularjs and was struggling with selection as well. I know this question is already answered but wanted to share some more code nevertheless. In my test I have two listboxes: tournament ...
1
vote
2answers
26 views

trigger function after listening to several triggered events on different elements

I'm using a loader that will wait for angularJs directives to be done and finish. The reverse is exact too, if my directives finish first the img loader must come after before my page will show. ...
0
votes
0answers
10 views

How to read data of MSI file that contains encrypted JSON data?

I did an application, in that I have stored all the data in mySQL database. Now, I will download a MSI file that contains user relevant data on successful user login. And I would like to read that ...
2
votes
4answers
54 views

How to toggle ng class by clicking a checkbox button?

Through webservice i used ngrepeat to show the check box. It contains 10 check box. Check box was produced in div tag not used html input tag. In Html, <div ng-repeat="showproduct in showproducts....
0
votes
0answers
14 views

using Meanstack, numeric value not inserting numberic data into mongoDB

This is respectively .HTML file and script.js and controller in node with string values it is working fine, problem occurred in numeric value while updating or inserting * i am using mongodb and ...
0
votes
0answers
31 views

How can I add Cross 'X' Icon in angucomplete-alt plugin?

I'm using Angucomplete-alt for showing my autocomplete result. I want to add one 'X' Cross icon inside text box that will clear the text entered in the text box as per below image. I tried So many ...