Linked Questions

859 votes
22 answers
311k views

What is a brief introduction to lexical scoping?
Subba Rao's user avatar
  • 10.7k
1051 votes
3 answers
158k views

The API Reference Scope page says: A scope can inherit from a parent scope. The Developer Guide Scope page says: A scope (prototypically) inherits properties from its parent scope. So, does a ...
Mark Rajcok's user avatar
15 votes
5 answers
54k views

I'm using ionic and I have the following view: <ion-view hide-nav-bar="true" ng-controller="loginController" class="login-view"> <ion-content class="padding"> <div class="row ...
user avatar
2 votes
1 answer
6k views

My variables are not updating in the controller and I have no idea why. In the view I have this code <div ng-if="state_1"> <input ng-model='amount'> {{amount}} <!-- this binds ...
iKey's user avatar
  • 428
2 votes
4 answers
4k views

I have this index.html which has a navbar in the which is seen on all pages of my single page application. The navbars container div is using the ng-controller="LoginCtrl" value, so I will also ...
JohnWick's user avatar
  • 5,139
4 votes
1 answer
4k views

Hi I am new to the angular js and trying to write the chat application using the socket io and angular js with ionic for android platform. But in my chat page there is one issue. I am trying to bind ...
user avatar
1 vote
1 answer
4k views

I'm fairly new using AngularJS but I've been using for a pet project and I've run in to an issue. What I basically want to do is take the text input from this input field: <form id="ci_search_form"...
Kylee's user avatar
  • 1,675
4 votes
2 answers
1k views

I'm creating a modal dialog and trying to read the fields back when the dialog is closed, but when the input is edited, the ng-model for the input field is being set to undefined. With the Plunk, if ...
eblood's user avatar
  • 105
1 vote
2 answers
1k views

It works now... I GET array and stick name in input, then I change name in input and PUT it. HTML <form id="edit"> <table> <tr> <th>Name: </th> ...
Harley's user avatar
  • 1,564
5 votes
4 answers
496 views

I am wondering at the dual behaviour of $scope. In the below script I am getting value of name as alert. But in my ionic app the same code alerts undefined. I googled the problem and found this link ...
sam's user avatar
  • 698
0 votes
2 answers
729 views

Hi All I have checked for solutions online for my problem but nothing resolved my problem. HTML5 code : <!DOCTYPE html> <html> <head> </head> <body ng-app="...
titlu's user avatar
  • 129
0 votes
2 answers
123 views

The example below is extremely simple (edited after sp00m correct for the previous example response): index.html: (part) <table> <tr ng-repeat="r in [1,2,3]"> <td ng-repeat="c ...
Grzegorz's user avatar
  • 3,365
0 votes
1 answer
393 views

I have a very weird problem with AngularJS 1.4 (TypeScript). The problem is in the controller I have a variable and this value can be viewed in an input text box. However, when I edit the value in ...
Bằng Rikimaru's user avatar
0 votes
1 answer
290 views

I'm trying to save the data from a form, which is in a modal, to local storage. But, for some reason, the data is coming up blank. For example, when I get the data, it returns this: , , , , , ...
teirra's user avatar
  • 99
0 votes
3 answers
280 views

the ng-model I have in html has a dot in it. let's take a look step1.html file <div class="col-xs-12 col-sm-9"> <select id="plateId" ng-model="selectedPlate.plate" ng-options="plate.id ...
user3641381's user avatar
  • 1,086

15 30 50 per page