From 948cffeb4c0814e92dde25d1085ea599ebd95264 Mon Sep 17 00:00:00 2001 From: Andrew Joslin Date: Tue, 27 May 2014 12:12:48 -0600 Subject: [PATCH] fix(ionRadio): correctly interpolate ngValue instead of compiling Closes #1464 --- demos/directive/radio/chooseOne/index.html | 17 +++++++++++++++++ demos/directive/radio/chooseOne/index.js | 8 ++++++++ 2 files changed, 25 insertions(+) create mode 100644 demos/directive/radio/chooseOne/index.html create mode 100644 demos/directive/radio/chooseOne/index.js diff --git a/demos/directive/radio/chooseOne/index.html b/demos/directive/radio/chooseOne/index.html new file mode 100644 index 00000000000..43ca8883512 --- /dev/null +++ b/demos/directive/radio/chooseOne/index.html @@ -0,0 +1,17 @@ +--- +name: chooseOne +component: ionRadio +--- + +

Radios

+
+ +

+ Your Choice: {{choice}} +

+ One + Two + Three + Four + Five +
diff --git a/demos/directive/radio/chooseOne/index.js b/demos/directive/radio/chooseOne/index.js new file mode 100644 index 00000000000..5205a7a962c --- /dev/null +++ b/demos/directive/radio/chooseOne/index.js @@ -0,0 +1,8 @@ +--- +name: chooseOne +component: ionRadio +--- +angular.module('chooseOne', ['ionic']) +.controller('ChooseOneCtrl', function($scope) { + $scope.choice = 'two'; +});