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

Send Jspwriter object to jsp

I have a spring controller which is called from an angularjs controller. The spring controller has a JSPwriter object which has HTML content. I want to send this JSPwriter object to a jsp and print on ...
0
votes
0answers
13 views

How to add input tag to the last row of ui grid on button click

I am having a situation where I want to add input box at the end of the table. Is it possible to do this in ui-grid. I know rowTemplate, but it applies to whole column. I want to apply only to the ...
0
votes
1answer
12 views

How to hide table row based on option value in AngularJS?

So I have a dropdown.. <select ng-model="dropdown"> <option ng-value="1">1</option> <option ng-value="2">2</option> <option ng-value="all">All</option> ...
0
votes
0answers
16 views

Angular: exclude JSON object property from being filtered

I am using this http://plnkr.co/edit/U1TOccm3pURetRTUul12?p=preview for searching multiple keywords of objects in json form. Code from plunker: angular .module('demo', []) .controller('ctrl', ...
1
vote
1answer
12 views

Angular databinding on datable row selection

I am using Datatables to show data. When I click on a row, I want to work on the data and then do databinding to show these data. Here is the code I have for the datatable event : table.on( 'select',...
0
votes
0answers
20 views

Angular ng-model not working when html is rendered by js

I have a jquery plugin, that renders some html in the DOM. I set ng-model attribute to injected html in that jquery plugin. After page loading has finished, ng-model doesn't bind to angular. ...
0
votes
0answers
10 views

AngularJS cutting the last two digits of big integer

I'm using $http to make network requests inside an angular app. I'm retrieving a list of objects with the corresponding ids (some of them are really big numbers) from an API, but the ids don't match. ...
1
vote
2answers
29 views

ordering the div as per data

I am creating a web app based on html angularjs I have two div's Div 1 <div class="box1" style="margin-top:20px;"> <span ng-repeat="i in data" style="font-size:14px; font-weight:...
0
votes
1answer
6 views

TypeError: providedScope.$new is not a function - angular bootstrap modal

I have been following the official guides here but am still getting the error. A user on GitHub experienced the same issue but did not mention how it was resolved, only that there was an error in his ...
-3
votes
1answer
24 views

Unable to find specific value from array with indexof method

Below is my array : $scope.Statistics = []; This statistics array contains records like below : ['Usa'] : regions: [0] : name : 'chicago' [1] : name : 'miami' [2] : ...
0
votes
1answer
12 views

Angular post file to server

Hello here's my json "names" : [ { "file": "file1.zip", "date": "12-03-2016", }, { "file": "file2.zip", "date": "24-06-2016", }, { "file": "...
0
votes
0answers
9 views

How to resolve extra forward slash added to angular route?

I'm using the angular-route library in Asp.Net Core to allow client side routing. But when I hit the link to browse to the editor view I get the following with an extra %2Fwhich isn't a valid route in ...
1
vote
2answers
14 views

Return a promise with actionsheet

I'm trying to return a promise with actionsheet (ionic). Error: TypeError: Cannot read property 'then' of undefined at CambiarImagenesController.seleccionarImagen (cambiarimagenes.controller....
0
votes
0answers
8 views

Get new size of Gridster widget after resize using directive

I'm trying to add google geomap to gridster item using directive, but when resizing i'm unable to get new width and height of the gridster. And also losing height and width when reloading page. I'm ...
0
votes
0answers
6 views

How to add read more button in angularjs with ng-bind-html?

Hello guys I have an application and data is coming dynamically from backend, i want to give read more button. To get the data i am using "ng-bind-html" when i am using hmread more tag this is not ...
-1
votes
0answers
6 views

mdPanel not updating array

Using the sample of Angular Material about mdPanel as source (Sample) I have a question that would resolve my problem If after open the panel I update the 'desserts' array this new item is not ...
0
votes
1answer
13 views

Angularfire $remove function not found

Maybe is a simple error but I can't detect it. I have this script's in index <head> <script src="lib/ionic/js/ionic.bundle.min.js"></script> <script src="js/app.js">&...
0
votes
0answers
10 views

Ng serve Angular CLI unhandled error event

I am new to Angular development. When trying to run ng serve in my Angular CLI project I get following error: unhandled error event
0
votes
0answers
7 views

Kendo Pager not updating with kendo list view data source

I'm using kendo pager with kendo list view. kendo pager works fine when pagination is done at client side. When Server pagination is enabled at dataSource, and set the data/total in schema, kendo ...
1
vote
1answer
23 views

Displaying data with ng-repeat from JSON array in angular

Hi I have following data that is returned from service which I do not have any control on how it is returned: {"day_1":[{"classroom":"Nursery","count":0},{"classroom":"Junior Kindy","count":1}],"...
0
votes
1answer
22 views

Angularjs with rails API rest post 400 (bad request)

Hello i making a project of rails api and angularJs,And I found the following error. angular.js:11821 POST http://localhost:3000/people 400 (Bad Request) And I could not find why. code below. ...
0
votes
2answers
26 views

http get and post Angular

Hello here's my json "names" : [ { "file": "file1.zip", "date": "12-03-2016", }, { "file": "file2.zip", "date": "24-06-2016", }, { "file": "...
0
votes
2answers
32 views

How to create live search bar, with data from json file?

Good day! So, recently I tried to make my first Single page app. In process, I made some basic template, but then I wanted to add live search functionality. Basically, you, as a user want to find ...
0
votes
1answer
11 views

angular ui grid grouping display first element in the group row

I need to display the first value in a group in the group row so first i tried to display a constant using aggregation, I have this column def name: 'Stack', displayName: 'Stack', ...
0
votes
1answer
8 views

equivalent of on-slide-changed for ion-slides

I am migrating from ion-slide-box to ion-slides. I was using on-slide-changed with ion-slide-box like this: <ion-slide-box on-slide-changed="slideChanged(index)" show-pager="false"> but I ...
0
votes
2answers
28 views

angularjs get html inner value of the label inside ng-repeat

Hello I want to get the value of one label with angularjs and I have tried with: var photoName=angular.element('label[id=photoLbId]').val(); and the result is undefined meanwhile for an input type ...
0
votes
0answers
7 views

heroku assets:precompile error for foundation sites $color

I have an "angular of rails" app using foundation-sites which I'm installing with bower. Whenever I try to push to heroku, it breaks on running rake assets:precompile with the following error: ...
0
votes
0answers
23 views

How to upload image in ckeditor using Angularjs and NodeJs

After some research I am able to send the data to Server and get response however, on response I am getting error Blocked a frame with origin "http://localhost:3001" from accessing a frame with ...
-1
votes
0answers
12 views

How write correct multi sort for elasticsearch?

I use elasticsearch with angularJS 1.5. And i have pb with multi sort, i need write sort where product will show in that position: in which the properties field = 'product' in which the properties ...
-2
votes
1answer
30 views

Add Item from existing json

just new in Angularjs and i have some question. i create this samll example to learn but isnt working like i would like. So how to add a new Item from a existing jSON? i am trying lik you can see, ...
1
vote
3answers
48 views

In AngularJS, how do I get two buttons to call different functions?

I'm working on something where you have a reset button, a button to save changes to a database object, and I added a delete button next to it. No matter what I do, I can't seem to find how to get the ...
0
votes
0answers
12 views

Internet Explorer 11 not displaying embed pdf file using angularjs(Displaying in Chrome & Firefox )

below is my MVC5 view Index.cshtml <div> <embed embed-src="{{pdfSource}}" style="width:850px;height:580px;" /> </div> Server side response from a controller which displays ...
-1
votes
2answers
24 views

get data immediately in angularjs using $http or $resource

i created a plug-in for field angular.module('ersProfileForm').directive('ersProfileEditableField', ['$templateCache', '$compile', 'profileFieldService', 'RolesService', ...
0
votes
0answers
3 views

Application Error on Heroku for node and angular application

I can't see my website with heroku. Why? what's the problem? My logs are : 2017-01-07T09:01:05.406777+00:00 heroku[web.1]: Process exited with status 137 2017-01-07T09:01:05.418855+00:00 heroku[...
0
votes
0answers
6 views

how to edit angular translate file using php

I am developing a classified website using laravel and angularjs. We can change the language from user side.Now i am using angular tanslate file for changing language.I would like to add a feature in ...
1
vote
2answers
42 views

Single page app url management

Usually in a Single Page App(spa), I do have a single page have where I have a sidenav menu. In that menu, there are multiple anchor tags. Those anchor tag's url will be handled by angular/react/sammy ...
0
votes
1answer
13 views

Angularjs + MVC - TemplateUrl cannot be found

Hi ive been following a tutorial on Asp.net Core with angular. But i am only interested in the angular part and i am not using Asp.net core. I am at the part where you can easily include any partial ...
2
votes
4answers
25 views

The ng-repeat array is updating table data for the first time i'm selecting value, but its not updating the table data only once

I'm trying to update the table view depending on select option. The table view is updating only once, when i select the option second time the view is not updating, I'm not getting what's the problem. ...
0
votes
5answers
16 views

Button in table angular

What i need to do is show button in table, but when "name" is "True" the button should not show. Only when "name" is "False: the button should be in the table. My Json [ "name" : "False", ...
0
votes
1answer
15 views

Unable add a new row to the table angularjs

How can i add the new row to the table in angularjs. On click of add button am unable to add new row to the existing table. Here is the plunkr -https://plnkr.co/edit/s7XAaG4JbvbTTxiZ0V2z?p=preview ...
-1
votes
0answers
23 views

Every controller raises the error Argument 'Controller' is not a function, got undefined

My code was working fine. All of a sudden, each and every controller is raising the issue of Argument 'Controller' is not a function, got undefined
0
votes
0answers
11 views

Generating SEO-friendly markup for single page web app in Angularjs

What is the best way and what are the steps in detail to be followed to make my angularjs website seo friendly ? I am new to angularjs. I have heard of following things but i have no clue will these ...
1
vote
1answer
34 views

ng-repeat with two dimensional array

I have a array which is of the form $scope.vehPermitTypevalue = [ [ "NP","National Permit"], ["IND_AP","Andra Pradesh"]]; HTML CODE: <ui-select name="permit" id ="permit" multiple ng-model="...
0
votes
0answers
8 views

Angularjs and with native php backend SEO

Can anyone help me how to integrate better SEO with angularjs app and php api native backend ? (no framework)
-1
votes
0answers
11 views

recaptcha integration with ionic hybrid app

I have read many post related to integrate google recaptcha with ionic hybrid app, I didn't found any solution for it. I have some following question regarding g-recptcha use in ionic app: 1) Can I ...
0
votes
1answer
16 views

Changing the text of single Button within ng-repeat in angularjs

am new to angularjs. I want to change the text of single button within ng-repeat after successful POST request. html code <div class="row req-content-container" ng-show="selectedTopic"> &...
-1
votes
0answers
16 views

Angular JS - Fetching Values and Calculate Sum Without Buttons

I have created a small app to enable login feature and created 4 tabs. The first tab will accept four values an the tab2 will display these 4 values and their sum. The login part is working for me , ...
3
votes
2answers
21 views

Create list of items of a single item at once

Angular task 1.5.x: I have object like this: { id: 1, name: "a", items: [ {"holiday": "false", "day": "monday"}, {"holiday": "true", "day": "tuesday"...} ] } I want ...
1
vote
1answer
14 views

nested ng-repeat in angular js not showing anything

i am having this inside my controller method. var employee = [{name:"ankur",dept:"IT",company:"wipro",under:[{name1:"ashish"},{name1:"akash"},{name1:"tyagi"},{name1:"mogra"}]}]; $scope.employee = ...
-1
votes
0answers
13 views

Ionic serve shows blank screen

Hi I am trying to build an application in ionic. It was worked fine for few days and login I started getting blank screen suddenly. My console does not show any errors but my ionic serve -c shows me ...