I have designed the main screen shown below. When each link is clicked, it should open the corresponding view.
https://i.sstatic.net/H84jt.png
Here is what I have created so far:
Main Screen
<body ng-app="starter">
<ion-pane>
<ion-header-bar class="bar-stable">
<h1 class="title">Checkout</h1>
</ion-header-bar>
<ion-content>
<div class="row blue-bg">
<div class="col col-50 white">
<ul class="list-inline">
<li><a href="#">Catalog</a></li>
<li><a href="#">Inventory</a></li>
<li><a href="#">Dashboard</a></li>
<li><a href="#">Transaction</a></li>
</ul>
</div>
<div class="col col-40 white">Logo</div>
<div class="col col-10 .col-offset-25 white">Right</div>
</div>
</ion-content>
</ion-pane>
</body>
app.js
angular.module('starter', ['ionic', 'starter.controllers'])
.run(function ($ionicPlatform) {
$ionicPlatform.ready(function () {
if (window.StatusBar) {
StatusBar.styleDefault();
}
});
})
controllers.js
angular.module('starter.controllers', [])
.controller('PaymentListCtrl', function ($scope) {
$scope.productItems = [
{
name: 'Product 1',
price: '$50.00'
},
{
name: 'Product 2',
price: '$45.00'
}
]
})
I am a beginner in both Ionic and Angular, any simple method you can provide would be greatly appreciated.