Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Commit d4f98f9

Browse files
author
Yappli
committed
Update README.md
1 parent af3c6a7 commit d4f98f9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,24 @@ angularDynamicStylesheets
22
=========================
33

44
A angularJS service to load dynamically CSS files
5+
6+
=====
7+
Description
8+
====
9+
angularDynamicStylesheets is a AngularJS service allows you to load dynamically CSS files in your HTML page.
10+
11+
====
12+
How to use ?
13+
====
14+
15+
1. First, add the module "" to your AngularJS apps
16+
17+
angular.module('myModule', ['DynamicStylesheets']);
18+
19+
20+
2. Get this service where you want and add your css files in your HTML page ! Example here in a controller :
21+
22+
function MyCtrl($scope, dynamicStylesheets)
23+
{
24+
dynamicStylesheets.add("/path/to/your/css/file.css");
25+
}

0 commit comments

Comments
 (0)