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 applications are also frequently known as single-page ...

learn more… | top users | synonyms (2)

0
votes
0answers
5 views

Angular ng-bind not accessing scope variables

ng-bind is not accessing the $scope variables. When the view loads the data is not rendered - it's just blank, but I can see all of the data I need to access under the "showTopic" variable in the $...
0
votes
0answers
6 views

Popover editable for tooltip

I am new to angular js and bootstrap. I have a requirement that i need to implement a popover on hover or click and the user should be able to edit the tooltip. Could you suggest an approach to ...
0
votes
0answers
4 views

After reset, angular retrieves values from previous input

This is my app in Angular JS: http://cmpe-273-010825867-fall-2016.herokuapp.com/ The problem is, when I input values into the two texts by clicking the numeric buttons, they are entered. When, i ...
0
votes
0answers
11 views

Does Protractor support returning Promises in tests?

Some test suites support returning Promises in tests to trigger an asynchronous test. The following example would result in a test that passes after 2 seconds if I were using Mocha: it('async test', ...
1
vote
1answer
17 views

What is this flood of errors in the console when I try to use ng-change?

They are regularInterceptedExpression errors. I want the user to be able to paste properly formatted JSON into the text area in the left column, and have it auto-parsed, manipulated, and displayed in ...
0
votes
0answers
6 views

Angular Post Request Error

I'm learning Angular coming from Java and I'm having a tough time figuring this out. I'm getting a "ReferenceError: user is not defined" at the first if statement, but in my other controller I'm ...
1
vote
1answer
15 views

$scope variable in HTML disappearing on refresh

I have a scope variable that appears properly as it should when coming from somewhere else on the site. However, if the html page where the $scope variable is called from is refreshed, the variable ...
1
vote
0answers
8 views

$state.go() returns a resolved promise before transition to template

As the title says, im making a $state.go() and returns a resolved promise before making the transition to the desired template.. is this the normal behaviour of $state.go()? Im mixing Q and $q ...
0
votes
1answer
8 views

Custom directive not displaying withing a ui-view

I have a custom dircetive "3-test-directive" which I want to call to display a text. When I use this directive in the page partial-home.html, it does not diaplay me with any text from the directive(it ...
0
votes
0answers
5 views

Angular JS - Pixel fires twice only on live site but not on multiple local systems

I am facing a weird issue and wonder if there is some basics in Angular or hosting tech, I am missing. I have a pixel integrated onto a Angular JS app, using ng-include. <div ng-include src="'...
0
votes
0answers
13 views

Angular 2 stable: templateUrl variable

I am fairly new to AngularJS (using 2 stable). I have an existing PHP/Codeigniter3 app and my job is to make an SPA. I am running into a problem where I can't access router params at all to add them ...
0
votes
1answer
6 views

camerapreview plugin is not found by my angular js app

So I have yet another problem with my home application. I am trying to get a live preview image directly on my html page. I am using VS Community and I linked to https://github.com/mbppower/...
0
votes
0answers
5 views

Cant get ADAL interceptor to work in Angular

We are using azure active directory authentication for our application. I've included it in the SPA and I'm able to get it to work for logging in. I get an oauth token and I'm able to store it and ...
0
votes
0answers
5 views

Installing angular-ladda with browserify + browserify-shim

I am trying to install angular-ladda with browserify and am having trouble. I installed angular-ladda using npm install --save angular-ladda. The install successfully added the angular-ladda ...
0
votes
1answer
22 views

Angular directive's element

I have this directive: function dndDirective($timeout) { return { template: '<div class="dndComponent"> Title: {{title}} </div>', scope: { title: '<' }, ...
1
vote
1answer
18 views

repeated divs loaded by angular could have different contents, how can I make them have automatically adjusted heights?

My nodejs/angularjs application auto-loads via the angular_controller and mongodb a bunch of divs. HTML: <div class="sunti_contain" ng-repeat="sunti in suntis track by $index"> ...
-2
votes
1answer
14 views

How to get first element's data in Auglar's HTML code? [on hold]

<img ng-src="{{card.pictures.[0].url}}" class="md-card-image" alt="photo"> I tried the above code to get the first element but got angular.js:13920 Error: [$parse:syntax] http://errors....
2
votes
1answer
14 views

Translating a function that styles a div based on mouse movement from jQuery to Angular makes coordinates spazz out

Here is a JSFiddle of the function I built some time ago in JQuery before I learned AngularJS for the project I intended to use it in. var numberOfPosts = 1; // To calculate the absolute/starting ...
0
votes
0answers
10 views

issue when I created angular.module on partial view MVC

hi I have this code on partial view: var app = angular.module('tableConditions', []); app.controller('conditionsRow', function ($scope){ $scope.options = [{ index: 0 }, { index: 1 }, { index: 2 }]; ...
0
votes
1answer
9 views

Some Safari users get “Safari Can't Open the Page” on the first load

I've noticed that some of my users randmonly get "Safari Can't Open the Page" the very first time they load our application, which gets automatically fixed if they reload. Testing with a user with ...
0
votes
1answer
19 views

How can I properly setup my controller? 'Cannot set property 'values' of undefined'

I want a particular div to have access to the 'values' object inside my 'WorkHistoryController' controller: <div id="container1" ng-controller="WorkHistoryController"> <h3 id="tree-...
0
votes
0answers
15 views

Angular directive with bootstrap-table

I'm building a directive that transforms a normal table into a bootstrap-table. The problem is that when I initialize the plugin inside the directive's link function it doesn't work well. If I run: $...
0
votes
0answers
5 views

JWT and cookies - Node/Express and Angular - Methods to store a JWT in an httpOnly cookie?

How would you store a JWT inside an httpOnly cookie using Express in combination with Angular? My idea of it may be skewed since I'm just learning, but this is how I see it executing: Instead of ...
0
votes
0answers
11 views

angular $validators not firing or misbehaving

(function() { 'use strict'; angular.module('peoplePickerCombo', []); angular.module('peoplePickerCombo') .directive('peoplePicker', function() { return { restrict: 'E' ,require: ...
0
votes
2answers
13 views

Show Element Based On Current Selected Menu Item Withing Ng-Repeat in Angular

I have a navigation bar in an application where I want to show related to a selected nav item image on click. Both navigation items and images located in the same array of objects in controller, ...
1
vote
1answer
26 views

ng-bind not updating, only after refreshing the page

Using $resource to get the data, the pages have the data from the previous page until I refresh it. I've read that it's because angular itself doesn't know that it's been updated. However even after ...
0
votes
1answer
14 views

Angular hide or show a button if the content of the field in table contains a specific text

In my html <div ng-app="myApp" ng-controller="customersCtrl"> <table border="1"> <tr ng-repeat="x in names"> <td>{{x.Name}}</td> ...
0
votes
1answer
15 views

Making moment injectable in angular2

I would like to make moment to be injectable through out my app. I just started learning ng2 and couldn't find this type of usage in the docs. Here is what I have in my app.module.ts: import {...
0
votes
1answer
24 views

angular select 'track by' resets selected

I'm struggling getting "selected" to work with 'track by' for Angular select element. I have the following select: <select id="licenseType" ng-model="selectedLicense" ng-options="...
0
votes
0answers
32 views

why $scope.$apply not working in angular js?

I am using ui select in my demo .I am using $scope.$apply() to update the view but it not working. I have few option in my UI multiple select.There is one condition when user select Nicole it blank ...
0
votes
1answer
20 views

Map not showing first time I enter in the screen

The following html code loads a google map: <div> Map : <div ng-controller = "CreateNewEvent" id="map" style="width: 100%; height: 400px" data-tap-disabled="true" ng-init="initMap()">...
-1
votes
2answers
28 views

angular POST not working as expected (PHP)

I am using angular to make a POST request on click using the following code in my controller... var request = $http({ method: "post", url: "../submit.php", data: { templateData: $...
0
votes
1answer
28 views

angular data not binding

I have a login form that I trying to collect data from to send to my api, the html looks a little like this, <form novalidate ng-controller="loginController" ng-submit="doLogin()"> <...
0
votes
2answers
10 views

Rails5 API + Angular2 Frontend + static HTML homepage

Working on an app that has a Rails 5.0 API backend, and an Angular2 front-end, but the Angular app is so large, I can't have it load whenever someone lands on the app's home page (/) since the ...
0
votes
2answers
22 views

Angular service loses set data in new controller

I have a link that I want to use to pass data to another page. I am able to access the service on the page I go to, but the data is empty. The HTML: <a href="/signup" ng-click="...
0
votes
2answers
40 views

check if an input box is not empty and toggle required

Toggle mandatory based on empty or nonempty of the first input box. The user may enter a value and also clear the value. If nonempty -> Other control are required If empty -> Other control are not ...
0
votes
0answers
17 views

Full scroll only click in item

I'm having a problem a little complicated. I have a list of items, which in each of them there is hidden information and show only when you click on an icon of each item. As a show and hide. The ...
1
vote
1answer
23 views

How to solve angularjs Uncaught Error: [$injector:modulerr]?

I am developing a single page web application using AngularJS' ng-view and ng-template directives. But when I run it my browser show this type [1]: http://i.stack.imgur.com/TPuPo.png of error. Here ...
0
votes
1answer
10 views

How to pass a function through a directive attribute while keeping the original 'this' reference

I have developed a directive for file upload in Angular. I would like to pass the success callback from the parent component to the directive, but it is referencing this inside that function which ...
0
votes
1answer
9 views

Cordova + ionic window.open no way to get back

Im currently using the below code to bring up a website in my angular/ionic/cordova application : var url = 'https://portal.sagepay.com/mysagepay/login.msp'; var mywindow = window.open(url, '...
0
votes
0answers
12 views

Issue Embeding Youtube video in Angular JS without requiring page refresh

I am working on an ecommerce website and trying to add the ability for users to add youtube videos for their products on the product detail page. I have the code working other than the fact that the ...
0
votes
0answers
9 views

How to link to an Express URL in an angular application?

I've set up an app which uses facebook authentication through Express and Passport.js, however all of the front-end is coded using angular. I've also got routes set up for both Express and for Angular....
0
votes
1answer
18 views

Angular Component Bindings Undefined

I'm trying to put together my first angular component with ngRoute and so far I'm unable to get data to resolve. config: .when('/myfirstcomponent', { template: '<myfirstcomponent claimKeys="$...
-1
votes
0answers
17 views

AngularJS http request for multipart/releated — How to send binary image data to the server with the boundary?

I've trouble in sending binary data to the server, Program I used is here : callRestAPi() { let pngBinaryData ="iVBORw0KGgoAAAANSUhEUgAAAiQAAAFUCAYAAAAUOScsAAAAGXRFW"; // base64 image format ...
0
votes
0answers
21 views

How do I create a way to send/receive emails to and from [email protected]

I am a new Front-End Developer and am getting ready to do the first release of my personal website ( http://www.NightOwlNico.com/ ). While asking for constructive criticism, several people pointed ...
0
votes
1answer
22 views

ng-model added dynamically is not working?

I am using dhtmlxScheduler and angular js. I inserted an ng-model attribute within checkbox and select element of lightbox of dhtmlxScheduler - ng-model="isallday". link:function($scope, $...
0
votes
1answer
16 views

AngularJS - Empty option in select with ajax source

I have a select element that should be filled with some options that I need to retrieve from an API call, then set the first one as selected. But Angular creates an empty option at first position and ...
0
votes
1answer
37 views

Text overlapping in my sidebar

I am experiencing a weird glitch, i see text overlap in my sidebar. Image attached overlapping text image link I am not sure how this happens and i have been trying to figure it out. The overlap is ...
0
votes
1answer
8 views

Angular + IE - State.go on button click

We are developing an angular app and are having trouble with IE / Edge. We do realize that angular dropped support for older IE versions, but we are fine with that. Anyway, even in IE9+ and Edge we ...
3
votes
0answers
28 views

Why injecting `$http` in angular 1 error interceptor cause circular dependency? [duplicate]

Consider the following interceptor template for angular 1 (function () { 'use strict'; angular .module('myApp') .factory('apiError', apiError); ...