Skip to content

Commit 3a89b1b

Browse files
committed
Fixes angular-ui#123 - Added info about .eventSources to README.md
1 parent e666bad commit 3a89b1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ Apply the directive to your div elements. The calendar must be supplied an array
4545

4646
<div ui-calendar ng-model="eventSources"></div>
4747

48+
Define your model in a scope e.g.
49+
50+
$scope.eventSources = [];
51+
4852
## Options
4953

5054
All the Arshaw Fullcalendar options can be passed through the directive. This even means function objects that are declared on the scope.

0 commit comments

Comments
 (0)