Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Get stuck on cool select modal

$
0
0

@xzecode wrote:

hai guys i got stuck on my ionic. first im new in ionic framework and i use
this source https://market.ionic.io/themes/my-ionic-material-design for start my app web

and now i want to add some select modal like this :

and add design from angular material https://material.angularjs.org/latest/getting-started

but it always stuck with my app.js
this is my app.js code

var app = angular.module('starter', ['ionic', 'ionic-material']);
app.run(function ($ionicPlatform) {
$ionicPlatform.ready(function () {

if (window.cordova && window.cordova.plugins.Keyboard) {
    cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
}
if (window.StatusBar) {
    StatusBar.styleDefault();
}

});
})
app.config(function ($stateProvider, $urlRouterProvider) {
$stateProvider

.state('app', {
url: '/app',
abstract: true,
templateUrl: 'templates/menu.html',
controller: 'AppCtrl'
})

.state('app.lisensi', {
url: '/lisensi',
views: {
'menuContent': {
templateUrl: 'templates/lisensi.html',
controller: 'LisensiCtrl'
}
}
})
.state('app.tentangkami', {
url: '/tentangkami',
views: {
'menuContent': {
templateUrl: 'templates/tentangkami.html',
controller: 'TentangKamiCtrl'
}
}
})

.state('app.bantuan', {
url: '/bantuan',
views: {
'menuContent': {
templateUrl: 'templates/bantuan.html',
controller: 'BantuanCtrl'
}
}
})

.state('app.home', {
url: '/home',
views: {
'menuContent': {
templateUrl: 'templates/home.html',
controller: 'HomeCtrl'
}
}
})

.state('app.latihan', {
url: '/latihan',
views: {
'menuContent': {
templateUrl: 'templates/latihan.html',
controller: 'LatihanCtrl'
}
}
})

.state('app.konvensional', {
url: '/konvensional',
views: {
'menuContent': {
templateUrl: 'templates/konvensional.html',
controller: 'KonvensionalCtrl'
}
}
})

.state('app.update', {
url: '/update',
views: {
'menuContent': {
templateUrl: 'templates/update.html',
controller: 'UpdateCtrl'
}
}
})
;

// if none of the above states are matched, use this as the fallback
$urlRouterProvider.otherwise('/app/home');
});

please from all of you guys can help me how to add more designs like what i write before to make modal select.
sorry before and i hope there's someone can help me

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>