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. The ...

learn more… | top users | synonyms (2)

0
votes
0answers
3 views

TextAngular cannot change buttons in toolbar

I'm looking at the following page: https://github.com/fraywing/textAngular/wiki/Customising-The-Toolbar It says that to change the TextAngular toolbar options you need to do the following: <text-...
0
votes
0answers
5 views

$http get null when use phone browser

I use $http make POST request to get my imugur access token, everything work fine on my PC browser. But when I use my android phone (ios not sure,haven't try), it get error, from the console.log it ...
0
votes
0answers
5 views

Angular: Getting Unique Modal information

Plunkr: https://plnkr.co/edit/FNN3lYtIKNhMgZT5F2Iy?p=preview When clicking on each button, I want to display the name of that button in the modal as well as the age and other information associated ...
0
votes
0answers
5 views

Angular way of “global controller” for Ionic apps

I'm new to ionic and have been wondering the "angular" way of a "global controller". In my app, I am using the starter tabs template and I want to have a bar with which I want to interact with as the ...
0
votes
0answers
14 views

checking multiple condition in ng-if

I need to check 4 conditions in ng-if which are boolean conditions. If any of them is true, I need to display some div. Is there any simple and better way to do it please? <div ng-if="ctrl....
0
votes
0answers
10 views

jQuery plugins not detected inside angular ng-template

I have a summernote and chosen plugin which is triggered via jQuery: $('.init-summernote').summernote({ width: 420, toolbar: [ ['style', ['bold', 'italic', 'underline', 'clear']], ['para',...
0
votes
0answers
7 views

Issue:When use ui-bootstrap modal ,browser hangs

I have a scenario where i need to show modal pop up when redirected to the state so for this i used ui-bootstrap modal here is my controller code : angular.module('hrPortalApp') .controller('...
1
vote
0answers
8 views

OAuth2 on AWS Elastic Beanstalk - CORS error

I've deployed a working Angular frontend 1.4, and Laravel 5.1 API project to AWS S3 (static frontend) and AWS Elasticbeanstalk respectively. I'm using OAuth2 for Laravel 5.1 and this works quite ...
0
votes
0answers
10 views

Adding new Module AngularJS FountainJS (Yeoman)

I'm using fountainJS and I'm facing a problem with this seeder of AngularJS. I'm new in this world but I think I can develop with this scaffold because in addition to come with several pre-installed ...
0
votes
0answers
8 views

Debugging infinite digest for $rootScope.$apply in unit tests

I have a simple test for my UserService that calls my ApiService. I'm using a third party API SDK so I can't use $httpBackend directly, but I've set it up so that at least for now empty data is ...
0
votes
0answers
8 views

What happens when you do not use $destroy() after creating an instance using $new() when unit testing AngularJS

I was looking for ways to unit test AngularJs when using the "controller as vm" style. I came across this (Karma jasmine and angular controller using 'Controller as' syntax (this instead of $...
0
votes
0answers
6 views

Netbeans IDE 8.1 | Glassfish 4.0 (Maven to HTML5 Rest service) ans CORS

I have banged my head on the wall long enough on this issue and thought I would ask for assistance. I am running a Java Web Application - Maven Project, that has Entity classes created from the ...
0
votes
0answers
3 views

Multiple API Http Gets using Angular via MEAN Stack

I am trying to query the questions collection of a Mongo DB. I have structured my application similar how Joe Eames defined the MEAN stack in his Pluralsight course. I have a situation where I need ...
0
votes
0answers
5 views

Angular Translate: Appending new translation when inside a controller

Since we can only access the $translateProvider during the config phase, it seems to be hard to add more translation to the existing one. The problem is I wanted to dynamically load some translation ...
0
votes
1answer
14 views

ng-model as initial input on form

I have an edit form that pushes data to a mongo db using express and angular. I am using ng-model for my data. The PUT works correctly to update the database. But I can't seem to make that found data ...
1
vote
1answer
17 views

Allow for modal dialog before file dialog in Angular

I'm wanting to extend the directive outlined in this popular question. .directive("fileread", [function () { return { scope: { fileread: "=" }, link: function (...
0
votes
1answer
17 views

The value of an object inside the controller doesn't change after GET call in AngularJS ??

I have average knowledge in AngularJS and can't seem to understand the reason for my problem below: I have a .service ("SearchMovieService") where I have the GET method defined and it returns a ...
0
votes
0answers
20 views

Nested ng-repeat in html table

I have a table with three different levels of data, when I call the child level of data using an ng-click the data is diplayed ok but when I call the grandson level the data is not displayed, the ...
0
votes
1answer
21 views

Accessing 'as' controller property from external Javascript

I have Javscript mapping component which on addition to a map, I would like to get a color preference from an Angular 1.5 'as' controller which drives user preferences. So may controller code looks ...
0
votes
0answers
10 views

Query Parameter, REST Post and then redirection

I know little to zero about front end technologies. What I am trying to do is to implement Google Authorization. I will be creating a clickable link on my html page which will take the user to Google ...
0
votes
0answers
14 views

How to set up Angular with Mongodb for search?

I am trying to figure out how to make my Mongobd data searchable using Angular. Currently I have managed to accomplish a searchable Angular app with hard coded data but I have been unable to figure ...
0
votes
0answers
9 views

How to let user control formatting of text field

I'm trying to make a text field where the user can pick formatting (bold, italic, etc.) so I can then save that information in the database and pull it out later. I made an image of what I mean: I'...
0
votes
0answers
14 views

TypeError: Cannot read property '$$hashKey' of undefined

I have an object return by http post in angular var altest = { //here I have an empty object prepared to be extend Detail: {} init : function(passdata) { var self = this; var dataResult = ...
0
votes
0answers
15 views

How to make only one menu to be displyed in table row?

I created sliding menu in table row.On mouse hover the menu(glyphicon) is sliding in. If I click on glyphicon-list-alt the slided menu is pinned to the row. Here id working plunker. Here CSS for ...
0
votes
1answer
9 views

$location.path not working first time with Ionic/Firebase

I am building my first mobile app, using Ionic.io (version 1) and Firebase (latest version, 3 I believe) for the database. I am trying to set up the sign-up page such that, upon successful ...
0
votes
2answers
15 views

Right approach to helper service (ajax) in Angular js (not dependant on scope)

I have an angular SPA with several modules, services, factories and controllers. I have written a helper service and put it in a common folder minifed js file that all my html pages reference. They ...
0
votes
0answers
14 views

Having troubles with AngularJS Directive TemplateUrl

I am trying to include custome directive with map and its options into a page, I created template and saved it into a separate html file and also created file with controller inside it. Directive ...
0
votes
0answers
10 views

How can I set a tabindex attribute on a pie chart?

I have a basic pie chart with 3 wedges. When you click on a wedge of the pie, a tooltip will display. My intent is to have the same functionality for a keydown event. Scenario: When a pie slice has ...
0
votes
0answers
14 views

Angular 2 App is bootstrapping my entire index.html file instead of the correct component

This is the issue which is that when I run my application it gets stuck on Loading... and I checked and the reason this is happening is because main is loading the entire index.html file Also I am ...
0
votes
1answer
33 views

How can I have a vertically stacked grid with as little JavaScript as possible

Using an AngularJS ng-repeat I have a series of varying-sized divs that fill a page. The problem (as shown below) is that when I want an element to appear on a new line I want it to align the the ...
0
votes
2answers
19 views

How would I create a dropdown menu with text input area in AngularJS?

I'd like to recreate this same type of dropdown menu in AngularJS. I've made the button with FontAwesome icons nested in there. Any ideas? Links to resource? DropDown Text Input Example var ...
0
votes
0answers
8 views

AngularJS problems with radio button not selecting

I'm trying to catch the ng-change event on a radio button, but the problem is that it only gets checked when I click for second time on any of the radios in the same group. Also, when I click on a ...
0
votes
0answers
7 views

Searching for links into HTML to use InAppBrowser - IONIC and ANGULARJS

I'm using $http.get(); to get the HTML content of my post. But, some posts has links and when I click in these links at the App they don't open. So, I need help to find a way to search for links (<...
0
votes
1answer
13 views

Restrict certain AngularJS routes for given NodeJS route

I have two routes added to my NodeJS backend server app.js file as follows: // Add the routes app.get('/provision', ...); app.get('/', ...); Either of these routes gives full access to all the ...
-5
votes
0answers
17 views

Angular Js,html,css

First, my code: HTML: <span class="favStar" id={{x.id}} ng-click="addToFav($event)"></span> CSS: .favStar { background: url(../images/sprite-1.png) 0 0; } .favStarchecked { ...
0
votes
0answers
11 views

Angular localForage return [object Promise]

After setting a key/value by 'setItem' (and checked if the items is stored correctly) I'm trying to get the value of the key. Instead of getting the correct value, I get the following respons: [object ...
0
votes
1answer
12 views

Rails/Angular JS: Ngclick not appearing to work

I'm creating a simple angular app in my rails app to show a list of registered users. The goal will eventually be to just loop through all of the users and select a random one, update their attribute ...
0
votes
1answer
11 views

Data from service arent updated

I'm very new to AngularJS and programming aswell, so it can be easy question for you but I'm struggling with it for plenty of hours and can't get my thinking straight. So, my goal is simple, to have ...
0
votes
1answer
16 views

$state.go not working in single controller

everyone. I am having a strange problem...I have several states in my app, and they all seem to work except inside of one controller. I have posted the factory whose function I am trying to use, along ...
1
vote
1answer
21 views

getFullYear not working when using the loop counter

I'm sure there is a good reason for this, but doesn't seem to come to my head. I'm working with Angular and I'm using the function getFullYear() inside a "for" loop that goes through an array of ...
0
votes
1answer
21 views

Links in strings - Typescript

I'm working at a project written in Ionic/Angular/Typescript. In the .html file, I have < p> {{stringVar}} </p> In the .ts file,I have this.stringVar= "Visit http://www.google.com. ...
3
votes
2answers
19 views

node http-server not serving updated html files

I am building out a front-end web app with angular (mostly ui-router) and doing local development by serving the html files through node http-server. I have noticed that http-server isn't serving my ...
0
votes
1answer
21 views

Watcher on an object is better or on its attributes?

Suppose I have an object comprising of 6 attributes and out of which I want to watch its two attributes. For ex :- var dummyObj = { fName : 'Shubh', mName : '', lName : 'Kesar', ...
-2
votes
0answers
15 views

pass route fragements from server to client when serving single page app

How can I pass server-side route fragments to my client application? I want my Angular 1.x app to handle all routes, but I don't know how to make the server respond when the server must handle a ...
0
votes
2answers
16 views

AngularJS: Pass binding in ng-click directive

I've called a function on the ng-click event from my html but would like to pass the output of an ng-repeat as a parameter to that function. INthis case {{item.url}} is the output of the ng-repeat. ...
0
votes
0answers
7 views

webpack throws: cannot find name “cartodb” when compiling an Angular 2 app with Typescript

I have the configuration from this github repo: https://github.com/AngularClass/angular2-webpack-starter And after adding the script tag to include CartoDB on my index.html, I'm trying to use ...
0
votes
0answers
6 views

ngAnimate: Set class name filter to include also children elements?

Here's an example: http://plnkr.co/edit/jQUwh3KsZ1uR3lr3TrLK?p=preview I want to set classNameFilter setting to apply to the children elements as it applies to the parent which contains class name in ...
-4
votes
1answer
20 views

Simple login form using MEAN stack program

I am new to Mean stack let me know how to create login form using Mean stack(Angularjs,nodejs ,mangodb,expressjs)
0
votes
2answers
16 views

Why does Angular still add unknown selection?

I am pretty new to Angular so I am missing something trivial: <select ng-model="shop_index"> <option ng-repeat="elem in shops" ng-selected="{{$first}}" ng-value="{{$...
0
votes
3answers
16 views

Initialize ng-click value as true in angularjs

I am working with a spa in angular, where I use ng-click to switch between pages (by showing and hiding divs). All works well, this is the simplified version of the code I am using: <a href="" ng-...