It's better if you put this stuff in a plunkr...

That aside, there are a few things to look at:
Are you using a web-server?

   1. If so, is the web-server configured to return the correct MIME type
      for JSON files?
      2. If not, XMLHttpRequest's do not work when loading a page from disk.
      3. Does the debugging console show any errors?
      4. Have you run your JSON through a validator?


On Tue, Aug 16, 2016 at 10:07 AM Godwin Festus <[email protected]> wrote:

>  Hello,
> I am trying to read a JSON file using the $http sevice but its not
> working, also my $routeProvider is not handling my navigation to new
> partials. Any assistance would be appreciated.
> I have attached the files am working on to this message.
>
> Regards.
>
> --
> 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 https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Lucas Lacroix
Computer Scientist
Advanced Technology Division, MEDITECH <http://ehr.meditech.com/>
781-774-2293

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

Reply via email to