Migrate to 1.0.0-beta.3 "americium" - ERROR


#1

After migrating to americium, I am receiving an error concerning the ion-nav-back-button directive. Any ideas?

Code:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title>Blah</title>

    <link href="css/ionic.css" rel="stylesheet" />
    <link href="css/style.css" rel="stylesheet" />

    <script src="js/libs/ionic.bundle.js"></script>
    <script src="cordova.js"></script>

    <script src="js/app/app.js"></script>
    <script src="js/app/controllers.js"></script>
    <script src="js/app/directives.js"></script>
    <script src="js/app/filters.js"></script>
    <script src="js/app/services.js"></script>
    <script src="js/app/dataService.js"></script>
</head>
<body ng-app="app">
    <ion-header-bar class="bar-stable nav-title-slide-ios7">
        <ion-nav-back-button class="button-icon icon ion-chevron-left">
            Back
        </ion-nav-back-button>
        <span class="title">
            <img src="img/logo.png" />
        </span>
    </ion-header-bar>
    <ion-nav-view></ion-nav-view>
</body>
</html>

Error: [$compile:ctreq] Controller ‘ionNavBar’, required by directive ‘ionNavBackButton’, can’t be found!
http://errors.angularjs.org/1.2.12/$compile/ctreq?p0=ionNavBar&p1=ionNavBackButton
at http://local/Simulator/js/libs/ionic.bundle.js:7542:12
at getControllers (http://local/Simulator/js/libs/ionic.bundle.js:13524:19)
at nodeLinkFn (http://local/Simulator/js/libs/ionic.bundle.js:13695:35)
at compositeLinkFn (http://local/Simulator/js/libs/ionic.bundle.js:13104:15)
at nodeLinkFn (http://local/Simulator/js/libs/ionic.bundle.js:13688:24)
at compositeLinkFn (http://local/Simulator/js/libs/ionic.bundle.js:13104:15)
at compositeLinkFn (http://local/Simulator/js/libs/ionic.bundle.js:13107:13)
at publicLinkFn (http://local/Simulator/js/libs/ionic.bundle.js:13009:30)
at http://local/Simulator/js/libs/ionic.bundle.js:8768:27
at Scope.$eval (http://local/Simulator/js/libs/ionic.bundle.js:19441:28) ionic.bundle.js:16899
(anonymous function) ionic.bundle.js:16899


#2

Disregard. For some reason I must have changed the ion-nav-bar to an ion-header-bar during the migration. Stupid mistake.


#3

Glad to hear you were able to resolve this!