Header problem with 1.0


#1

I’m trying the new version and I get a problem even though i copy the code from doc. Codepen here:


#2

add the class ‘bar’ into your header line
ion-header-bar align-title=“left” class="bar-positive"
like
ion-header-bar align-title=“left” class=“bar bar-positive”

:smiley:


#3

And then the header blocks the content


#4

Seems like you missed a big thing, initiating the angular app.

angular.module('ionicApp', ['ionic'])

#5

THX a lot!! If only this could be included in doc.


#6

Its at the basis of angular.js but I can see where it could be overlooked. Anytime you use a directive or some sorts, you need to initiate the angular bootstrapping process to get things going. I’ll talk to the devs about including a more in depth explanation about that process in the docs