Re: [AngularJS] Re: model containing html and data

2014-01-07 Thread Sander Elias
Well Kumar, you should take a look at $templatCache. You can programmatically create all the templates you need, and stiff those there, and create a few generic modules to utilize those. Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" g

Re: [AngularJS] Re: model containing html and data

2014-01-07 Thread Pushpendra Kumar
Thanks Elias, Can you please guide me how I can do this in angular.js. Regards, Pushpendra On 8 January 2014 10:19, Sander Elias wrote: > HI, > > Yeah, CSS + javascript. Also AngularJS can do a fine job there! > > Regards > Sander > > -- > You received this message because you are subscribed

Re: [AngularJS] Re: model containing html and data

2014-01-07 Thread Sander Elias
HI, Yeah, CSS + javascript. Also AngularJS can do a fine job there! 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 angular+unsubscr...@googlegrou

Re: [AngularJS] Re: model containing html and data

2014-01-07 Thread Pushpendra Kumar
Thanks guys. But I think this approach will create a mess that is non-maintainable. Is there any js tool to re-arrange html form elements if some of them have hidden dynamically by js. On Jan 8, 2014 12:10 AM, "Sander Elias" wrote: > Hi Pushpendra, > > This is certainly possible. have a look at

Re: [AngularJS] Re: model containing html and data

2014-01-07 Thread Sander Elias
Hi Pushpendra, This is certainly possible. have a look at the templateCache. You can fill that using scripting, and the just ng-include, or any other angular way to utilize those templates. Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS

Re: [AngularJS] Re: model containing html and data

2014-01-07 Thread Pushpendra Kumar
Thanks Pan for answer. Actually my application has around 40 modules and all modules contains create, show, list and update page. But metadata and html structure s different in all. Now I want to create a generic model that provide html structure and data from db for all modules. I want to create

[AngularJS] Re: model containing html and data

2014-01-07 Thread Pan Stav
Theoretically, yes. If you could provide a more specific question - we could answer more specifically about the different limitations that could arise with such as abstraction. On Tuesday, January 7, 2014 2:32:34 PM UTC+2, Pushpendra Kumar wrote: > > Hello All, > > I want to develo