*Thanks Sander*

*i try to learn angular as is can, and when i ask here to get help i try to 
learn the solution i got to understand it correctly *

*i don't need to use jquery here each time i had learn new thing i edit my 
code to be fully with angular*

*i try it with another way and it works as i need:*

*** i return ID from api controller as:*

return Ok(new { ID = newOrderMaster.OrderID });

*in angularjs post code i have add:*

alertify.success('تم حفظ الفاتورة برقم ' + data.ID, 5);

*and now i can get the id of inserted invoice*
 

On Tuesday, June 16, 2015 at 6:00:11 AM UTC+2, Sander Elias wrote:
>
> If you use Angular, and you feel you need to use an ID on a element, you 
> are probably doing it wrong. If you really want to learn Angular, then drop 
> jQuery for the time you are learning, and start off with working your way 
> trough the tutorial 
> <https://www.google.com/url?q=https%3A%2F%2Fdocs.angularjs.org%2Ftutorial&sa=D&sntz=1&usg=AFQjCNG4cJPWDEvvY7RXHNdUeQwt8kkOUg>
>  and 
> through the CodeSchools course <http://angular.codeschool.com/>.
> when you have done both, go ahead, and read the styleguide 
> <https://github.com/johnpapa/angular-styleguide>.
> When you have difficulties after that, we will be happy to help you.
>
> 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