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)

-1
votes
1answer
17 views

Generating Four letter meaningful word javascript

I am creating a word game app using ionic/angularjs where I want to generate a meaningful four letter word without repetition. On surfing I found about chance.js but it creates a random(nonsense) word....
0
votes
0answers
3 views

Angularjs Routeprovider in MODx subfolder

I've got angularjs app running on MODx website. There is some page with URL like localhost/www.mysite.com/angularapp/ which contains the app. URLs inside app look like localhost/www.mysite.com/...
-4
votes
1answer
29 views

What project structure should be do for a big application c#?

I want to plan a big application of ERP in my work, and i'm considering a lot of options. I don't know which's better between them, if the learning curve is very long, or maybe what can be learned now ...
0
votes
0answers
7 views

HTTP JSONP request won't work in AngularJS

I get the bellow error when I try to use the JSONP method in angularJS. Uncaught SyntaxError: Unexpected token : http://example.com/getSomeJson?format=jsonp&json_callback=angular.callbacks....
0
votes
0answers
17 views

Why does an angular function in the view keep firing?

How do I stop this, why does it happen or am I implementing this incorrectly? For example: $scope.testFunction = function (x) { console.log(x) } <div ng-bind="testFunction(5)">test<...
0
votes
0answers
6 views

Add or update current URL parameter using angular's $location

I have a page with multiple parameters in my URL. I am trying to write a function to use on the click of an element. I want it to check if parameter pthree exists. If it does, update it to a new value ...
0
votes
1answer
8 views

Angular 2 cache http response to sessionStorage

I want to cache (using sessionStorage) the http response that I'm getting from rxjs. if the same request(URL) calls once again I wanted to use the sessionStorage instead of receiving it back from the ...
0
votes
3answers
18 views

Show/hide columns depending upon index

<div ng-controller="checkBoxController"> <div id="myModal" class="modal fade" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div ...
0
votes
1answer
23 views

How to clear cache in angular JS using code?

I am new to Angular JS. I am done with my project. but somewhere I need to play with browser cache. Sometimes API gives me 400 Error code. and if I clear cache then it works fine. I am done with ...
0
votes
5answers
31 views

Get Value using Key from Array - Angulajs [duplicate]

I want get a specific value from key inside an array like that $scope.result = [ { "key":"logo_big", "value":"/assets/images/aaa.jpg" }, { "key":"logo_small", "value":"/...
0
votes
0answers
21 views

ng-grid how to show/hide button in a column cell for first row

I know it's bad to reference other questions but since I cannot comment on this guys page, the best I can do is post his question here and ask, here is his link: ng-grid how to show/hide button in a ...
-1
votes
0answers
5 views

Why won't Goolgle index our dynamically generated metadata?

We have a site built in AngularJS with a WordPress back-end: https://skaled.com/ The metadata (title and description specifically) are dynamically generated based on the content retrieved from the ...
1
vote
1answer
27 views

How to get the actual value of an angular expression

For example I have an angular expression: {{download.name}} I want to get its actual value instead of its reference, which is "demo.txt". This element is generated like this. Its value changes with ...
0
votes
0answers
10 views

AngularJS : adding a custom header to $http request

I am trying to add some custom headers to an API request. var headers = { 'ivClient': 'CUSC', 'ivDARoles': 'NEWC,CUSC,BEND', 'ivGroups': 'AccountView,...
0
votes
0answers
10 views

Angular book flip effect

I'm searching an angular plugin/directive which has as behavior like this http://tympanus.net/Development/FlipboardPageLayout Can I use this in my angular project? Anybody help me?
3
votes
1answer
25 views

generate number in sequence in both ng-repeat

I have to generate numbers in sequence(continuous numbers) for both ng-repeat and for which i am using $index but that is again giving me sequence from 1 for second ng-repeat. I tried taking a ...
0
votes
1answer
11 views

status undefined when try to fetch data on json and place it on single page of each data

heres my code, i try to show my selected product form my product page by id. for example when i click a product it go to right url like /#/product/2 and it show all the attribute of product id:2. ...
-1
votes
3answers
29 views

Check if a key value already exists in a multidimensional array object in angularjs

Suppose I have an array with object like this array = [ 0:{id:2,cnt:2},{id:3,cnt:3},{id:4,cnt:2}, 1:{id:1,cnt:6},{id:2,cnt:7},{id:5,cnt:4}, 2:{id:2,cnt:4},{id:3,cnt:2}...
0
votes
1answer
17 views

How do I replace parseInt, $stateparams etc with Firebase

So I had this HTML situations <ion-view title="Question# {{questionNo}}"> <ion-nav-bar class="bar bar-header bar-dark"> </ion-nav-bar> <ion-content class="quest-container"&...
0
votes
0answers
12 views

md-autocomplete with errors works the first time only

In angular material demo, when I test the autocomplete floating label example, it doesn't work correctly with errors https://material.angularjs.org/latest/demo/autocomplete Click on "favorite state" ...
0
votes
0answers
7 views

AngularJS NgMap (google maps) wont fit map to bounds

I have my NgMap going, and im following the tutorial here to get my map to resize to fit the bounds of the markers I have created. For some reason, the map isn't resizing. I followed the tutorial ...
0
votes
0answers
5 views

Get all variables within Umbraco custom data type

I've just started working with Umbraco and I could not find an answer to a simple issue I keep struggling with. <div ng-controller="My.MovieLinker"> <input type="checkbox" ng-model="model....
0
votes
0answers
6 views

Change icon in a Cordova list if element exists in another array(Firebase)

I have a JSON from Wordpress API (tags) . Lets say it's a list of cities. Then I have a Firebase JSON with "Visited Cities". What I try to accomplish is to get a NG-Repeat (Angular/Ionic) list over ...
-1
votes
0answers
15 views

How does Angular add behavior defining new attributes?

I'm learning Angular 2 (the successor of AngularJS). I tried to search in articles, posts, answers and so on, but nothing helped me, since they only explain WHAT Angular does, but not HOW. Then I ask ...
0
votes
2answers
16 views

Routes Permission in AngularJS

Hello I am putting security in my app angular, is that the user is not logged can not access any route of the administration, in this case I have this code: app.run(function($rootScope, $location, ...
0
votes
3answers
26 views

Angular JS ng-repeat to display data from JSON

I am trying to display data on the front end using the ng-repeat in Angular JS . This is my JSON output { "success": false, "timestamp": 1481126855178, "errors": [{ "message": "Please Enter ...
1
vote
2answers
22 views

Angular $location undefined

I am getting an undefined error for $location. I've been staring at this for too long and need an extra pair of eyes to tell me what I am doing wrong. Thank you. Controller Example: myApp.controller(...
0
votes
0answers
8 views

How to use deploy NodeJS + AngularJS application on Heroku

I didn't know that NodeJs requires special servers and my one is not suitable... After searching hosts, I found Heroku, I completed the guide to deploy NodeJS, but when I upload my app I faced ...
-2
votes
0answers
29 views

how to upload image when its show 500 error in angularjs

i want upload image but its show below error how to solve this problem, because other format of html working fine ..i want use in angularjs 500 (Internal Server Error) <input type="file" name="...
0
votes
1answer
31 views

Can't get this AngularJs HTTP request to work?

I'm trying to use the $http service in a angularJS app but I'm getting the below error in my console. XMLHttpRequest cannot load http://example.com/data.service/getSomething/hghfg7igb757. No 'Access-...
0
votes
1answer
6 views

OPTIONS Error using twitter API (400)

For my personal website, I'd like to create a page summarizing my social presence. I used Postman to make sure all my queries are valid. So I made simple call to get my last post on twitter. ...
2
votes
2answers
53 views

JSON Array vs Objects in AngularJS

To start I am new to AngularJS with some familiarity with Node/Javascript but have 25+ years programming. I am now supporting an AngularJS SPA and learning a lot, however there are some things I am ...
0
votes
1answer
46 views

AngularJS - PHP doesn't return values

I've recently decided to learn AngularJS and I'm currently trying to make a simple website with PhpStorm. I have stumbled upon a problem I don't seem to be able to solve. This is the code of the ...
0
votes
1answer
18 views

Refresh/ Re Render the UI once Submit button is clicked

Currently I am using AnularJS to update the value from JSON file and Once I click Submit button , I want to clear the whole DOM and refresh the UI and update the contents. Can you please help here ...
0
votes
0answers
13 views

How does Kendo UI track object references

I've have a kendo-grid for showing a list of items in my application. The kendo grid is set to be inline editable with a custom angular directive as my editor template. The directive contains a ...
1
vote
0answers
13 views

How to drag and drop containers using ng2-dnd (github library)

im using this library that enable you to do drag and drop, and in this demo http://akserg.github.io/ng2-webpack-demo/#/dnd at the bottom there is an example of doing drag and drop in containers and ...
0
votes
0answers
36 views

what is the difference between != and !== conditions in java script? [duplicate]

i am trying to figure out the difference between != and !== in java script , is both ways are used to check the not equal to conditions? i am confused trying to get the difference . please any one ...
0
votes
0answers
30 views

Get caret last position

How to get caret offset with HTML tags in contenteditable DOM? In Plunker i'm getting offset without HTML tags. The main idea it, insert special text, where i want. function ...
0
votes
1answer
8 views

Ionic/Cordova Identify platform during config stage

Is there a way for me identify current platform(iOS or Android) during config stage? I want to do var core = angular.module("app.core"); and then in config... core.config(.....); i need to have ...
0
votes
2answers
25 views

want to remove # from my angularjs application

want to remove # from my angularjs application i have tried $locationProvider, but there is no luck here is my Config : var TechdefeatApp = angular.module('TechdefeatApp',['ui.router']); ...
0
votes
2answers
17 views

Angular NG-Model not setting

I am trying to set the NG-Model on an input box (within a form if that matters) but it doesn't seem like it ever gets set on $scope. Everytime I set a breakpoint on the if statement in the controller '...
0
votes
0answers
35 views

Why this angularJS code not working?

I have created the angularJS code that consume the RESTful service to insert some form data into MySql database. When I submit the form data, there is no response. What is the mistake in this code? ...
0
votes
2answers
25 views

How to set initial value of input field when using vm as controller?

I am using john papa style to develop my angular app so there is controller passing data to another controller using service. In second controller, I want to set the input field value when controller ...
0
votes
4answers
22 views

table is not binding in angularjs

Hello everyone I am trying to bind a table in angulajs. I am getting data from database in table and trying to fill that table. Here I did $scope.getPageDetails = function () { $http.get('/api/...
0
votes
1answer
20 views

AngularJS ng-pattern [$parse:lexerr] Lexer Error: Unexpected next character

I have a little problem with my regex in AngularJS my regex in the html looks like this: ng-pattern="[adfijmPrsyz\d]+" but i get an error in the console which says: angular.js:13920 Error: [$parse:...
0
votes
1answer
14 views

Hyperlink not shown in gmail with email composer

I am trying to send html as a body with email composer. html body contains hyperlink but it is not working in gmail. Gmail display plain text only. var email = { to: ...
0
votes
1answer
12 views

add attribute to element after a angular-ui-bootstrap renders its template

I would like to add a 'ng-click' to an element that ui-bootstrap renders from the accordion directive. I am using angular 1.5, so there are a lot of solutions out there but they dont work for angular ...
0
votes
1answer
19 views

Angular Carousels: Uncaught TypeError: Cannot read property 'offsetWidth' of undefined while using carousels with Angular JS

Before I ask I have gone through this, but this doesnt seem to be issue in my case. I am using plain text carousels in angularJS , with this example as reference. I am trying to set active class for ...
0
votes
3answers
38 views

Angular add characters to an array

I m new to angular and i'm trying to make a add character form field but i'm doing something wrong Here is my html form with angular <form class="add_character" ng-submit="characterController....
-1
votes
0answers
21 views

Angular 2 shopping cart boilerplate with Firebase?

New to Angular2, want to create a shopping cart site. I am comfortable with Angular 1, done some projects using MEAN.JS. But here i am planning to use Firebase with Angular2. Is there any good ...