I don't have much experience with the new router myself yet and I don't see 
a way to do this with routes (doesn't mean there isn't).
Maybe this is easier to achieve using query 
parameters 
http://stackoverflow.com/questions/34599174/how-to-handle-query-parameters-in-angular-2

On Tuesday, January 5, 2016 at 2:07:35 AM UTC+1, Rahul wrote:
>
> I am trying to Implement a File Explorer App in Angular2.
>
> My Home Component will be having a list of Folders and Files. If I click 
> on Some Folder in the List, then using Clicked Folder's name as query 
> string i should navigate to another component which again having list of 
> Further folder and files inside it and this can continue for some more 
> nested levels. I want each opened folder's path to be visible in url bar 
> (i.e ./Folder1/Folder1.1/Folder1.1.2...so on.)
>
> Folder1
>     Folder1.1
>         Folder1.1.1
>         Folder1.1.2
>     Folder1.2
> Folder2
> Can Anyone please help me in achieving this because since component can 
> not be used both as view and router, I am finding difficulty in achieving 
> this because this almost infinite nesting is not allowed.
>
> Note : Please note that I don't need tree view only internally it can be a 
> tree view but I will be displaying one view with all contents and It's path 
> in url bar.
>
> Thanks in advance!
>
>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to