Mahesh Sandhanshiv Mahesh Sandhanshiv - 1 year ago 90
AngularJS Question

Change bootstrap theme runtime

Actually i need to change theme on client basis using angularjs.
So suppose if my client is "ABC" so need to select theme "bootstrap_abc_theme", if my client is "XYZ" then it will select "bootstrap_xyz_theme" like that. Basically i need to provide different theme to each and every one client.

Answer Source

Another solution could be:

Use ng-href in your <link> and modify it's variable in your controller.

Working DEMO

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download