Hello,

I am playing around with angular, and I came up across this issue, I am 
trying to have 2 different views (1) Frontend (2) Dashboard. 
I want to enable different CSS files for each end dynamically i.e. if a 
user goes to http://xyz.com/frontend, inside header the stylesheet link 
must be:
<link href="/app/css/frontend.css" rel="stylesheet" type="text/css">
if user goes to http://xyz.com/dashboard the stylesheet link should become
<link href="/app/css/dashboard.css" rel="stylesheet" type="text/css">

How can I accomplish this?

I tried "styleUrls" it injects the styles inside header and I don't want 
that.

Can some one help.

-- 
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