Open AlexSanzharevskyy opened 9 years ago
Hi There! First of all, thanks a lot for your great examples!!!
I have one question: if i want use data binding in routes file? for example:
config: { templateUrl: 'app/account/views/account.html', settings: { nav: 4, content: {{ session.user.username }}, settings: {}
How should i compile it? Thank you!
You can make a service call and get the user session. Binding of data is performed in HTML. Please study the AngularJs style-guide.
Hi There! First of all, thanks a lot for your great examples!!!
I have one question: if i want use data binding in routes file? for example:
config: { templateUrl: 'app/account/views/account.html', settings: { nav: 4, content: {{ session.user.username }}, settings: {}
How should i compile it? Thank you!