Skip to content

Instantly share code, notes, and snippets.

View jepzen's full-sized avatar

Jeppe B. Svendsen jepzen

View GitHub Profile
@jepzen
jepzen / gist:83fc9ad8d7a580d3404195115602beac
Created March 25, 2019 14:05
How to stop a link from working
//just add ;false; after the method you want to call on click. this comes from a Angular sample
<a href="" (click)="open(content);false;">
@jepzen
jepzen / contacts.html
Last active October 19, 2016 13:27
angular sample for adding people to a list
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
</head>
<body>
<div ng-app="myApp" ng-controller="personCtrl">
<h2>People</h2>