Example is I had a state looks like this that has many files, is there any way/solution that I can load this same files to another state such as state("editAdmin")?
My other question is there another way that I can minimize or prettify my codes like instead of typing all individual files, $ocLazyLoad.load will read files inside a folder.
Example is I had a
state
looks like this that has many files, is there any way/solution that I can load this same files to anotherstate
such asstate("editAdmin")
?My other question is there another way that I can minimize or prettify my codes like instead of typing all individual files,
$ocLazyLoad.load
will read files inside a folder.