OK, I know understand what you are saying. However, at one point it was an 
object and was treated as an object by angular.  I have attached 
console.logs to this example:-

http://plnkr.co/edit/TCJnl4ugafiuTxq1nRJv?p=preview

As you can see from the logs, at some point the $$error value was there, 
but it ceased being there at some point.\.  I also noticed I was still 
using angular 1.2 in my other example and when I switched to 1.3, it 
stopped working :(

Any ideas as to why angular would be swapping out my String object with a 
primitive object?

Thanks.

Kamal.


On Friday, 14 November 2014 17:02:17 UTC+11, Sander Elias wrote:
>
> Hi Kamal,
>
> I did put in a type check in your sample. it puts the type of the model in 
> the template.
> you can see type of sting, not an object. This is the base of your problem.
>
> have a look at: http://plnkr.co/edit/O3DTUYLbzYZugouPLFJ6?p=preview
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to