Java, .NET, PHP, PYTHON, ANGULAR, ML, Data Science, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

<!DOCTYPE html>
<script type="text/javascript" src="angular.min.js"></script>
<div ng-app="myapp" ng-controller="myctrl">

<div ng-repeat="c in course">
    <label><input type="checkbox" ng-model="msg.selected[c]" ng-true-value="'{{c}}'" ng-false-value="''">{{c}}</label>

     <input type="button" value="Click" ng-click="fun()" />

<script type="text/javascript">

  var app = angular.module('myapp',[]);
      $scope.msg = {
     $scope.course = [
        a =$scope.msg.selected;
           for (var key in a) {
                data=data+a[key]+" ";
          $scope.res =data;



Post a Comment

POST Answer of Questions and ASK to Doubt

Previous Post Next Post