demo supports load of local file, fixed bug in ng-repeat