Skip to content

matheusmessora/anguloso2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Anguloso

Anguloso is a HTTPInterceptor for AngularJS. It renders basic information about ajax requests.

========

##How Anguloso works

It intercepts every request and response from Angular $http service. Then, using jQuery, it renders lines for usefull debugging.

##I want to use it!!

  1. Anguloso can be used like a bower_component. So, first of all you need to declare it as a component in bower.json

{ "dependencies": {"anguloso2" : "master"} }

  1. Insert Anguloso as a module of your AngularAPP.

var yourApp = angular.module('yourApp', ['anguloso']);

  1. Include angulosoInterceptor as httpInterceptor

$httpProvider.interceptors.push('angulosoInterceptor');

  1. Voilà

##Depends on

  • AngularJS
  • jQuery
  • Bootstrap 3

========

/** * Works by GOD LAWs * */ void rotate() { Vector3 target = rigidbody.velocity; float angle = Mathf.Atan2(target.y, target.x) * Mathf.Rad2Deg; // rotate to angle Quaternion rotation = new Quaternion(); rotation.eulerAngles = new Vector3(0, 0, angle - 90); transform.rotation = rotation; }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published