Upgraded angular to 1.2.17. Added Apache 2.0 License