<!DOCTYPE html>
<html>
    <head>
        <title> Wikitechy AngularJS Tutorials</title>
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js">
        
</script>
    </head>
    <body ng-app="">
        <h2>ng-copy Directive in AngularJS Tutorials</h2>
        <lable>Copy the text:</lable>

        <input ng-copy="count = count + 1" ng-init="count=0"
               value="Wikitechy"
>


        <h3>Copied: {{count}} times.</h3>
        <h3> The "count"  value will be increased when the
            input field being copied.
        </h3>
    </body>
</html>


 


www.wikitechy.com © Copyright 2016. All Rights Reserved.