Skip to content

Instantly share code, notes, and snippets.

View raypulver's full-sized avatar

Raymond Pulver IV raypulver

  • North Stonington, CT
View GitHub Profile
/* directive.ionimagetitleview.js
This directive is a copy of ionView which allows you to set a title="<html can go here>" and real-title="Document <title> goes here". The purpose of this directive is to allow for HTML to be embedded in the header of an ion-view without having it printed as
the document title, instead substituting an actual title.
*/
angular.module('ionic.imagetitleview', []).directive('ionImageTitleView', ['$ionicViewService', '$rootScope', '$animate', function ($ionicViewService, $rootScope, $animate) {
return {
restrict: 'EA',