Skip to content

Instantly share code, notes, and snippets.

View mlefree's full-sized avatar
🎯
Focusing

Mat L mlefree

🎯
Focusing
View GitHub Profile
@mlefree
mlefree / login.component.html
Created January 23, 2018 13:21
angular login component
<div class="login-container">
<mat-card class="login-card">
<mat-card-header>
<mat-card-title>Login</mat-card-title>
</mat-card-header>
<mat-card-content>
<form name="form" (ngSubmit)="f.form.valid && login()" #f="ngForm" novalidate>
<mat-form-field>
<input matInput [type]="email" placeholder="Enter your email"
@mlefree
mlefree / angular.miappio.inject.js
Last active January 19, 2018 11:52
Miapp.io JS usage in an angular or pojo context
// Inject Miapp.io Services in your app
var myAngularApp = angular
.module('myApp',
['MiappService','miapp.services'])
.run(function (MiappService) {
MiappService.init('579898767AZEE45556 Given by Miapp.io',
'myAppSalt Given by Miapp.io');
});
@mlefree
mlefree / .gitignore
Last active June 13, 2019 14:54
Fidj.ovh prerequisites & getting started
# fidj.ovh prerequisites :
.idea/