added API key, moved to template from templateUrl