AngularJS

[object Object]

Accessing your Gitana content from an Angular app is a simple process. Below you will find steps and examples for how to get connected and get started building.

null null

Source Code and Set Up

The code for this example is available as part of the Gitana SDK, which contains usages of Cloud CMS with many different languages and frameworks.

  1. To download, run git clone https://github.com/gitana/sdk.git
  2. Navigate to the angular/sample directory
  3. Paste your gitana.json file here
  4. Run npm install
  5. Run npm install -g @angular/cli to install Angular
  6. Run ng build --prod to build the Angular app
  7. Run node app to start the app server
  8. The example will be hosted at http://localhost:2999