Skip to content

Instantly share code, notes, and snippets.

@anantn anantn/gist:8405484
Last active Jan 3, 2016

What would you like to do?
AngularFire Starter
<!doctype html>
<html lang="en" ng-app="chat">
<meta charset="UTF-8">
<title>AngularFire Chat Demo</title>
<link rel="stylesheet" type="text/css" href="">
<script src=""></script>
<body ng-controller="Chat">
<label for="">Your name: </label><input id="name" type="text">
<div id="messagesDiv" style="height:500px;">
<!-- Display chat messages here -->
<input id="message" type="text" placeholder="Message...">
<input id="send" type="submit" value="Send" style="font-size:24px;">
angular.module('chat', [])
.controller('Chat', ['$scope', function($scope) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.