prepare for angular 1.3
squash! prepare for angular 1.3

add legacy for version 1.2 and move test files
Merge pull request #2684 from pocesar/angular-1.3

prepare for angular 1.3