<!doctype html> <html ng-app="dropdown"> <head> <meta charset="utf-8"> <title>AngularJS dropdown menu</title> <link rel="stylesheet" type="text/css" href="style.css"> <meta name="viewport" content="width=device-width, initial-scale=1"> </style> </head> <body style="padding: 5em;"> <div dropdown classlink="dropdownLink" linktext='click me' classmenu="dropdownMenu"> <a href="http://www.google.com/">Google</a> <a href="http://www.facebook.com/">Facebook</a> <a href="http://www.amazon.com/">Amazon</a> </div> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js"></script> <script src="ngdropdown.js"></script> </body> </html>