@{ng(name, [nameN])};

21 views
Skip to first unread message

Hasan A Yousef

unread,
May 23, 2014, 2:38:19 AM5/23/14
to tot...@googlegroups.com

Hi Peter,
If I understood correctly, the @{ng(~script)} command, can ready any script.js file located at app/common directory, correct?

I noticed in your examples, you are referring to angular-route.min.js by  @{ng(~route)}, nit by @{ng(~angular-route.min)}?

moreover, I want to add other file (ui-bootstrap-tpls-0.9.0.js), shall I use @{ng(~ui-bootstrap-tpls-0.9.0)}? or @{ng(~bootstrap)}?

Thanks.
Hasan

Peter Širka

unread,
May 23, 2014, 2:56:29 AM5/23/14
to tot...@googlegroups.com
Hi Hasan,
yes.

I want to add other file (ui-bootstrap-tpls-0.9.0.js) :
@{ng(~FILENAME)} --> routes to --> /common/FILENAME

Better:
@{ngCommon(FILENAME) --> routes to --> /common/FILENAME

IMPORTANT:
It works for JavaScript files only.

Thanks.
Message has been deleted
Message has been deleted

Hasan A Yousef

unread,
May 23, 2014, 8:44:04 AM5/23/14
to tot...@googlegroups.com
Thanks, that's fine..

mmm, what about making them 2 separate directories, one for Angular JS scripts, say, ngFiles/Common, and one for others/users scripts, say scripts/js (like the css directory)!

Thanks.
Hasan
Reply all
Reply to author
Forward
0 new messages