Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jasonaden/angular-hal

Repository files navigation

#angular-hal

###Using HAL resources with AngularJS

angular-hal is used to parse HAL (Hyptertext Application Language) JSON structures into usable JavaScript objects. It ties in to AngularJS as a module with a angular.constant variable (so it could be used in the configuration phase of your application).

Usage

angular.module('myApp', ['HALParser'])
.controller('myCtrl', function ($scope, $http, HALParser) {
var parser = new HALParser();

$http.get('/mydata.json').then(function (myHalData) {
$scope.myData = parser.parse(myHalData);
});
})

About

Using HAL resources with AngularJS

Resources

Readme

Stars

Watchers

Forks

Packages

Contributors