in the new version you have to youse the curly brackets like so: title="{{headerTitle}}" and then in the controller you can set the headerTitle: $scope.headerTitle = ‘Header’;
Since this is suppose to be the “hello world” beginner application, could someone please print out the full text for a working solution, so it can be “cut and paste” into place
It is working now. The guide has been updated to use <div class="bar bar-header bar-dark">...</div> instead of <ion-header-bar class="bar bar-header bar-dark">...</ion-header-bar>
There really is no difference and there is a huge difference. LOL.
<ion-header-bar> is a custom Ionic AngularJS directive When you put it in your HTML, AngularJS automatically parses and compiles a template that is predefined for that directive.
This is the HTML that directive generates automatically:
When you define it yourself with classes, you are basically doing the directive’s work for the app. However, some directives have other functionality that may not get inherited by just using the classes. So, generally it is best to use the directives.