Revert 655ab3e..6e5507b

This rolls back to commit 655ab3edbc3927b46231c107d1f1961966e77f57.
Add AngularJS example, fix rule declarations