Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>meanApp</title>
<link rel="stylesheet" href="libs/mdDataTable/dist/md-data-table-style.css" type="text/css" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular-animate.min.js"></script>
(function(){
'use strict';
angular.module('exampleApp', ['ngMaterial', 'mdDataTable']);
angular.module('exampleApp').controller('ExampleController', function($scope, $mdToast){
$scope.nutritionList = [
{
id: 601,
name: 'Frozen joghurt',