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

AngularJS CDN not Working in Webstorm with EJS

I'm trying make my own sample site based of a tut& its repo, but having trouble connecting to Angular with the CDN provided in the AngularJS.org site,also tried npm install angular and linking it ...
-3
votes
0answers
18 views

ng-change doesn't evaluate function

Problem : ng-change directive doesn't evaluate a function Description: <input class="cmn-tgl" type="checkbox" ng-true-value="true" ng-false-value="false" ng-model="user.habits.early_riser" ng-...
0
votes
1answer
15 views

Call to undefined method PDO::real_escape_string()

I want to insert data to MS access database using php and angular js My Angular JS Code Following var app=angular.module('cardupdate',[]); app.controller('cardContl',function($scope,$http){ $...
0
votes
1answer
15 views

Switching AngularJS views while waiting for promise

I have the following code (see below) where MyCtrl1 is a controller of a view that the app is routed to depending on URL. The controller calls a function in a models service which returns a promise ...
0
votes
0answers
12 views

Save FileResult from server

I'm using MVC 5 and I have an action that creates excel file and returns FileResult. [HttpGet] public FileResult getExcel(ExcelData data) { return File(ExcelExport.WriteSigned(data.Line, data....
0
votes
2answers
24 views

Angular $scope value won't show up on a page

I am starting to learn Angular and tried to repeat the "To do list" task they have on the homepage. However, I am stuck in the very beginning: http://codepen.io/Deka87/pen/grGWqQ Template <div ...
0
votes
0answers
13 views

Angular 2 @Output is not being triggered in parent

I have a simple todo app that shows a list of todos. When you click on one, it shows more details and sets a selected state on the row. On the new details window, I added a close button. On click, it ...
0
votes
0answers
12 views

ng-file-upload returns 401

I'm using ng-file-upload to upload PDF to a Spring MVC back server on a different port. I have another requests made with normal $http, but when I use the Upload object I always get error 401. I can ...
-1
votes
0answers
8 views

Angularjs File Saver with byte array data

I'm using FileSaver.js https://github.com/alferov/angular-file-saver to download generated file by spring boot application ,I have rest service that return the file as byte array data. @...
1
vote
1answer
20 views

how to disable hash redirect in angular js

I have an url as below http://www.something.com/sometest/test/#registration some logic is written based on #registration for IE. Now as I am using angular js and it is redirecting as follows ...
0
votes
0answers
9 views

Go Back Behaviour of Angular 2 Router

When I try to access my Angular 2 Application using the direct URL to my index.html file (e.g. http://localhost:4200/index.html) everything first works as expected. However, I use the Angular Router ...
1
vote
1answer
18 views

Scope value not updating when service variable changes

I've a component (parms-bar.component.js) which is supposed to update when I click on the button (box.component.js), but it's not happening. I'm trying to let them communicate using the "selected" ...
0
votes
1answer
6 views

Persistence storage in ForerunnerDB not working properly

I am using ForerunnerDB - a NoSQL JSON Document DB for creating a data store on the client (web). This particular library offers a persistence storage option. However, there seems to be something ...
1
vote
1answer
18 views

angular's error message “ Failed to instantiate module” only in explorer

I am trying to create a chat application with angular on the front end. I added a new function called isUserTyping to the controler of the chat and tested in on chrome. it worked fine. in explorer ...
0
votes
0answers
10 views

meteor angular lazy load module

We like app can scalable, so we break the app into multiple modules, each module has it owns controllers, services and routes. We have a main module call App. The ideas is we bike child module route ...
0
votes
1answer
9 views

Watch on a new attribute which is attached on a nested objects, but not firing

How could I watch on a new attribute which is attached on a nested objects. As you can see, each row of the table is an item of fares array. And I manually add a field order_amount to each fare <...
1
vote
0answers
8 views

How to set route in ExpressJS to catch all deep route when html5Mode(true) is used

I'm using angular ui-router in the frontend and have set html5Mode to true: app.config(['$stateProvider', '$urlRouterProvider', '$locationProvider', function($stateProvider, $...
0
votes
0answers
11 views

Angular tab is not working in template calling through routes

I am trying to run the tab in a template, included through ng-view using routes. Unfortunately When I press on template, It is not working. Please help me to solve the problem. Here is the code :- ...
-1
votes
0answers
23 views

Why does this angular not work on plunker or locally?

I'm starting the plural sight course on angular which uses plunker I have literally copied the first course and already it doesn't work... Why?` Hello Plunker! {{243/40}} ...
0
votes
0answers
6 views

Animating Angular Bootstrap Collapse to a Mobile Off-Canvas Menu

I am trying to create an Angular/Bootstrap, Mobile, Off-canvas menu. The idea is to have a regular side menu when the screen is (min-width: 768px) and to hide the menu with the bootstrap collapse ...
0
votes
0answers
6 views

Disabling Strict Contextual Escaping (SCE) in AngularJS

I'm trying to disable SCE in AngularJS. According to the documentation this is what needs to be done: angular.module('myAppWithSceDisabledmyApp', []).config(function($sceProvider) { // Completely ...
0
votes
3answers
22 views

@ character became %40 after setting in a $.param

I am using angularJS in my project. One of the function in my controller is to check if the inputted email already exist in the database.If it exists, the system will notify the user that it is ...
0
votes
0answers
7 views

Loopback throws accessToken undefined even though a user is logged in

I´m working on a loopback JS app with the angular JS SDK on frontend. I have an after hook on a the find remote method for a model which verifies if there is an access token on the current context. ...
0
votes
1answer
13 views

How to save image in mongo data using node and angularjs?

I want to save image into database one of my web application. I am using MEAN architecture for this. What is the best way to do this? Please help me out with some proper example, tutorial or guidance.
0
votes
2answers
21 views

How can I assign a key to an array of values to pass to an API?

Im using Angular with pure JS. I have an array like this: arr = [1, 2, 5, 32]; But I need to POST this to an API in JSON. I'm trying to achieve this: {'reportIDs': [1, 2, 5, 32]} Is there an ...
0
votes
0answers
17 views

Cycling through angular objects onclick

I'm trying to use jquery to hide the opacity of the first 3 products by clicking the left arrow and then I want the next 3 products to fade into view. I can get the first 3 to fade out without moving ...
3
votes
1answer
27 views

How to fix 413 HTTP Request entity too large

I have a project where I have a simple client written in angularjs and the server is in scala, in my client I have a simple upload button where you click on it and choose a local file(csv), and when I ...
0
votes
0answers
20 views

Checklist directive stops working after changing array

So i have the following directive: app.directive('checklistModel', ['$parse', '$compile', function($parse, $compile) { // contains function contains(arr, item, comparator) { if (...
1
vote
1answer
11 views

JS > Prevent custom defined keyboard shortcuts while typing

I want to define <Shift> + ? shortcut to open specific help modal in each page (I mean each page has different content). Just like Gmail. There are hundreds of ways to implement that, but my ...
0
votes
1answer
21 views

add 1 to value after submission to databse with angular

I'm working on a project where user can like comment made by users. and what i want to achieve is when a user likes a comment on a page by default + 1 should be added to the total comments made. Below ...
1
vote
1answer
28 views

cannot display JSON data from the backend in angular 2

Am getting data from the back end(api) but i cannot display it to the view. i have tried several solutions but diddn't seem to work. <ul> <li *ngFor="let item of data"> <h4>...
0
votes
0answers
17 views

How to create auto complete in text box in semantic ui

I am using Semantic UI auto complete textbox. $(document).ready(function(search) { $('.ui.search') .search({ source: content }); var content = [{ title: '...
0
votes
1answer
34 views

HTML Input Divided Into 12 columns

Can we create a input field like in the image using only one input field in angularjs. Each box should allow only one number. <li><input type="text" maxlength="1" onkeypress="return ...
0
votes
1answer
27 views

ngChange on input changed by a select

I have a simple select input field where the user can choose an option: <select class="form-control" id="calc-masterbatchCode" ng-options="masterbatch as masterbatch.code for ...
0
votes
1answer
20 views

Using margin and padding with bootstrap grid

I feel like using margin and padding will mess with the bootstrap grid in a way that makes it not work on all devices since your going outside of the grid. If anyone can clarify this that would be ...
0
votes
0answers
11 views

ui-router: Default value for param not shown in URL

I have a state that is the entry point for my application. However, the entry page requires a date parameter in order to show a list. It is configured to use the current date if no date was provided ...
1
vote
1answer
16 views

Angular Component/Controller resolve $stateprovider

I am trying to adapt to Angular's component (from code generated by Angular Fullstack Generator). I tried to configure the routes to resolve "query" as per below: angular.module('paizaApp') ....
1
vote
1answer
11 views

I am using ngRoute in my AngularJS project . Can I have specific action associated with each routes

This is how I am doing .Here is my code. I need to have specific function for each route var App = angular.module('App', ['ngRoute']); App .config(function($routeProvider) { $...
0
votes
1answer
29 views

Why isn't my directive rendering any bound elements?

This follows from my question Recursion with ng-repeat in Angular, but is no way a duplicate. Now I know how to do that, but am asking why my current solution to the problem isn't working. I'm busy ...
0
votes
4answers
19 views

Styling in angular.js app

There are two buttons on same page buy and sell. It seems, there's only one html instance for both of them. So when I try to style them with class, or id, or other html-targeted selector, I style both ...
0
votes
1answer
8 views

Is there way to disable google maps resize when DOM is changed?

I'm working on ionic app and currently struggling with app performance on Android. Ionic modal opening animation is slow on Android. Using chrome timeline I figured out that when modal is opening ...
0
votes
0answers
13 views

How to upload image from phone gallery to a remote server in ionic framework

I am trying to upload image from phone gallery to a remote server. I am using ngCordova and cordova file transfer plugin to achieve this. I am able to pick the image from gallery but when upload the ...
1
vote
1answer
17 views

$createUserWithEmailAndPassword when using AngularFire is creating user but isn't returning promise

I'm currently migrating an existing project over to Firebase 3/AngularFire 2 from a previous Firebase.com setup. It's my first time working with each. My question is: I'm using the $...
1
vote
2answers
18 views

angular ui router disable for some links

i would like to use the bootstrap accordion in my angular-application. I'm using the angular ui-router for Routing through the sites. Now I'm facing a problem that the accordion needs an <a href=...
2
votes
2answers
13 views

AngularJS: angular-filter: How to the group by with 2 columns?

I know I may sound a bit confusing so I request you to please let me elaborate Note: A working POC (piece of code) has been attached to this post. I have an array of an object having 3 properties ...
1
vote
1answer
31 views

Order By Date in table using Angular js

I am using Visual Studio 2013 with Angular js. My question is I am binding the data in table with ng-repeat like given example: <table class="table table-bordered table-hover table-striped"> ...
1
vote
1answer
33 views

$viewValue is not applying in textbox directive?

Try to create masking Console Print $viewValue is different but not apply in view. NgModelController {$viewValue: "656-56", $modelValue: "656565", $$rawModelValue: "656565", $validators: Object, ...
-1
votes
1answer
32 views

how to hide input field whenever clicked anywhere else in angular js

i am a rookie trying to learn something.....i have written a code which is kind of a live search..now i want to hide it whenever i click anywhere else on the page...the code is using Angularjs.the ...
1
vote
0answers
20 views

store multer image filename in userschema node on signup

server.js var storage = multer.diskStorage({ destination: function (req, file, cb) { cb(null, './uploads') }, filename: function (req, file, cb) { cb(null, file....
0
votes
0answers
19 views

How to get the 3 collections array values from mongo db and displayed in table in angular js

I have 3 collections with different categories: [{ "customerToken" : "wagonsoft", "category" : "job", "questions" : [ { "questionOrder" : "", "jobName" : "...