Hi Kumar,
What is your need whether you want create the above code
using angular and json or create json from above code.
Regards,
Pushpendra
On 14 October 2014 10:31, Akshath Kumar <[email protected]> wrote:
> First of all thanks for the reply.
>
> my html contents look like below,
>
> <div>
> <li>--main item--</li>
> <li>--main item--</li>
> <li>--main item--
> <ul>
> <li>--sub item--</li>
> <li>--sub item--</li>
> </li>
>
> </div
>
> from above code i need to get the json object and send this to a function
> inside the angular service.
>
> I am new to angularJs, So Please suggest me the best way to do this.
>
>
>
>
> Thanks & Regards,
>
>
>
> Akshath kumar M
>
> Mob : +919567102617
>
>
>
>
>
> baabteâ„ System Technologies Pvt Ltd.
>
> An ISO 9001 : 2008 certified company
>
> Office: + 91495-2295550 | Mob : +919539906339
>
> www.baabte.com <http://www.baabte.com%20/> | www.baabtra.com |
> www.massbaab.com <http://www.baabtra.com/>
>
> On Tue, Oct 14, 2014 at 10:18 AM, dinesh kumar <[email protected]>
> wrote:
>
>> it depends on where do you need to do this,in controller or in directive ?
>>
>> Also could you please elaborate your needs to do it ?
>>
>> Regards
>> Dinesh kumar.L
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "AngularJS" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/angular/eYYdTz9kPTs/unsubscribe.
>> To unsubscribe from this group and all its topics, 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.
>>
>
> --
> 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.
>
--
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.