#28 updated angular to 1.3, fixed issue with globalpopup templates