title: Create popup with alert in AngularJS and JavaScript
body: <p>I am working on a project and want to have an alert box pop up when the user clicks on the input section. However, I am having issues. Any suggestions?</p>
  
  <p>My html/AngularJS code:</p>
  
  <pre><code>&lt;li ng-click="showCustomerList()" class="clickable"&gt;
      &lt;label&gt;Customer Info&lt;/label&gt;
      &lt;input readonly = "readonly" ng-class = "{editing: ShowCustomerList.isOpen()}" placeholder = "text" value = "{{getCustomerName}}"/&gt;
  &lt;/li&gt; 
  </code></pre>
  
  <p>My JavaScript/AngularJS code:</p>
  
  <pre><code>$scope.showCustomerList = function () {
      alert("This is the popup!");
  };
  </code></pre>