hi guys, 

appreciate the responses.... 

tony i will take a look at those options...

Thanks again!

On Wednesday, 13 May 2015 11:16:54 UTC+1, blu10 wrote:
>
> I'm a Noob to AngularJS so not sure if this is possible but i have a local 
> JSON file that i would like to read and display the contents on a web 
> page.... 
>
> I've seen some example of reading json but all seem to involve running a 
> server... Is it possible to retrieve the data from just a file read?
>
> something like below (which doesnt work)
>
> .controller('View1Ctrl', ['$scope','$http', function($scope, $http) {
>
>     $http.get('C:\test.json').success(function (data){
>         $scope.tables = data;
>     });
>
> }]);
>

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to