Skip to content

Instantly share code, notes, and snippets.

@renatocantarino
Created November 3, 2014 22:38
Show Gist options
  • Select an option

  • Save renatocantarino/d67e49227676a3c69ef2 to your computer and use it in GitHub Desktop.

Select an option

Save renatocantarino/d67e49227676a3c69ef2 to your computer and use it in GitHub Desktop.

Revisions

  1. renatocantarino created this gist Nov 3, 2014.
    15 changes: 15 additions & 0 deletions gistfile1.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular.min.js"></script>
    </head>

    <body ng-app="myapp">
    <div ng-controller="MyController">
    <button ng-click="eventos.Clique()"> Clique aqui </button>
    </div>

    <script src=".\JS\eventos.js"></script>

    </body>
    </html>