<div>
	<h1>Dashboard</h1>
		
	<div>
		<h3>Authorized Domains</h3>
		<ul>
			<li data-ng-repeat="domain in domains">
				<a data-ng-click="getVisits(domain._id)">{{domain.host}}</a>
			</li>
		</ul>
	</div>

	<div data-ng-show="selectedDomain">
		<h3>Visit Data</h3>
		<div data-ng-repeat="visit in visits">
			<p>{{ visit }}</p>
		</div>
	</div>
	
</div>
<div>
	<h1>Dashboard</h1>

	<div>
		<h3>Authorized Domains</h3>
		<ul>
			<li data-ng-repeat="domain in domains">
				<a data-ng-click="getVisits(domain._id)">{{domain.host}}</a>
			</li>
		</ul>
	</div>

	<div>
		<h3>Add a domain</h3>
		<input data-ng-model="newDomain" type="text">
		<button data-ng-click="addDomain()">Add</button>
	</div>

	<div data-ng-show="selectedDomain">
		<h3>Visit Data</h3>
		<div data-ng-repeat="visit in visits">
			<p>{{ visit }}</p>
		</div>
	</div>

</div>
Add button for adding domains
Add button for adding domains
