Question from the Ionic Framework test

How to display a variable in Ionic

Hard

How to display the name variable from our controller in a template?

angular.module('app')
	.controller(‘myController’, function ($scope) {
		$scope.name = ‘toto’;
	});
Author: Benjamin CanacStatus: PublishedQuestion passed 114 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!