Hi, yes it is and I have tried what you have suggested the url changes just
the relevant view isn't updated and this only happens with this view
On Monday, January 11, 2016 at 5:36:43 PM UTC+2, Leandro Parazito wrote:
>
> Is that path configured in $routeProvider? If you are just trying to go to
As per the title I have a ng-click function with only this line of
code $location.path('homePage'); but the relevant view isn't updated I have
even tried the replace at the end of that and even that didn't work
--
You received this message because you are subscribed to the Google Groups
"Angul
I have an empty array declared and upon a button press a function is kicked
off to push the items into that particular array index, only problem is my
index is not incrementing, what am I doing wrong? Here's my code
$scope.incomeList = [];
$scope.addIncome = function(incomeItem){
if(angul
I think declare it as a constant on your parent controller
On Tuesday, December 29, 2015 at 11:46:51 AM UTC+2, Ankush Joshi wrote:
>
> Hello,
>
> Here i need to store static data in one variable, which should not change
> across the pages, such variable should only reset on close of browser,
> s
Hi, based on controller inheritance you something like this
So TestCtrl1 would be your parent controller and any variables declared
within that controller can be accessed by the child controller TestCtrl2.
On Tuesday, December 29, 2015 at 11:44:05 AM UTC+2, Ankush Joshi wrote:
>
>
ow.
>
> http://stackoverflow.com/questions/14250642/angularjs-how-to-remove-an-item-from-scope
>
> 2015-12-28 23:32 GMT+09:00 ShatterStar >:
>
>> I have a list with a delete button that is attached to each item like this
>>
>>
>>
>> Date
>>
250642/angularjs-how-to-remove-an-item-from-scope
>
> 2015-12-28 23:32 GMT+09:00 ShatterStar >:
>
>> I have a list with a delete button that is attached to each item like this
>>
>>
>>
>> Date
>> Detail
>> Amount
>>
>>
I have a list with a delete button that is attached to each item like this
Date
Detail
Amount
{{item.date}}
{{item.detail}}
{{item.amount}}
Edit
Delete
upon clicking the delete button I want that particular item in the object
that I have declared to be removed / deleted, here
I have an array declared like so
$scope.list = [
{ date: "2015-01-01", detail: "Bought new wallet", amount: $filter('number'
)(150.00 , 2) },
{ date: "2015-01-08", detail: "Bought shoes", amount: $filter('number')(
225.36 , 2) },
{ date: "2015-01-12", detail: "Bought shirt", amount: $filter('n
Hi Guys,
I am trying to validate the number input that I have the user must enter a
digit with a value greater than 0, this works initially but the moment the
user enters the dot for decimal part of the amount the error message that I
have on ng-show is shown eg "36.95" the moment the dot is en
I managed to get this right it was just a matter of chaining the correct
classes together in the css, the classes I used were ng-touched and
ng-valid / ng-invalid
On Thursday, December 24, 2015 at 12:01:33 PM UTC+2, ShatterStar wrote:
>
> Hi Guys,
>
> I have a form as a view wit
Hi Guys,
I have a form as a view with two simple inputs, I have applied the classes
ng.invalid and ng-pristine in the css however what I want to achieve is
upon the loading / viewing of the form the input fields should have no
default styles applied, only after the user has interacted with the
come to mind)
>
> On Wednesday, December 23, 2015 at 2:58:07 AM UTC-5, ShatterStar wrote:
>>
>> Thanks Sander but it doesn't answer my question but from what I can see
>> the answer is yes correct me if I am wrong
>>
>> On Wednesday, December 23, 2015 at 7
do what you
> need.
>
> https://docs.angularjs.org/api/ng/filter/date
>
>
>
> On Wednesday, December 23, 2015 at 3:00:40 AM UTC-5, ShatterStar wrote:
>>
>> Hi Guys,
>>
>> I am trying to get the date that I have as a hidden field to be the
>> curren
Hi Guys,
I am trying to get the date that I have as a hidden field to be the current
date which would include the year, month and day eg. 2015-12-25, this is
how I am doing it thus far but is there a better / easier way? Here's the
code
var newDate = new Date();
dateYear = newDate.getFullYea
Thanks Sander but it doesn't answer my question but from what I can see the
answer is yes correct me if I am wrong
On Wednesday, December 23, 2015 at 7:30:11 AM UTC+2, Sander Elias wrote:
>
> Read the documentation?
> https://docs.angularjs.org/api/ng/type/$rootScope.Scope
>
>
--
You received
Hi Guys,
I would like to know how do I define the functionality on the $scope, I
know that AngularJS is a javascript framework so am I correct in saying
that all javascript functions can be used in angular as well? Can anyone
point me to any good resources where I can learn how to define comple
Hi Guys,
In learning AngularJS I have come across different syntaxes when declaring
the controller, here they are:
.controller("testCtrl", function($scope){ });
and the other syntaax that I have noticed
.controller(["testCtrl", function($scope){ }]);
Take notice of the angle brackets on the
sorted the problem out with no circular references.
On Monday, December 21, 2015 at 6:59:02 AM UTC+2, Sander Elias wrote:
>
> Hi ShatterStar,
>
> `` is not valid HTML5. Did you try with ``?
>
> Self closing tags are not part of HTML5. They are allowed because (sadly)
> it is a v
Hi Guys,
I have a simple AngularJS app and I have defined different templates
through the $routeProvider but upon inserting the into the
default html document I get this error in the chrome developer tools
"maximum call stack size exceeded", here's my code
index.html
Angularjs Money App
20 matches
Mail list logo