text: "use strict";angular.module("HackerNewsTabApp",["ngAnimate","ngCookies","ngResource","ngRoute","ngSanitize","ngTouch","firebase","firebase.ref","angularMoment"]),angular.module("HackerNewsTabApp").controller("MainCtrl",["$scope","HackerNews",function(a,b){a.topStories=b.fetchHomepage()}]),angular.module("HackerNewsTabApp").directive("story",["HackerNews",function(a){return{templateUrl:"views/story.html",restrict:"E",link:function(b,c,d){b.data=a.fetchItem(b.story.$value)}}}]),angular.module("firebase.config",[]).constant("FBURL","https://hacker-news.firebaseio.com/v0"),angular.module("firebase.ref",["firebase","firebase.config"]).factory("Ref",["$window","FBURL",function(a,b){return new a.Firebase(b)}]),angular.module("HackerNewsTabApp").filter("domain",function(){return function(a){return"undefined"!=typeof a?new URL(a).hostname:void 0}}),angular.module("HackerNewsTabApp").filter("image",function(){return function(a){return"undefined"!=typeof a?"/screenshot?url="+encodeURIComponent(a):void 0}}),angular.module("HackerNewsTabApp").service("HackerNews",["Ref","$firebaseArray","$firebaseObject",function(a,b,c){return{fetchHomepage:function(){return b(a.child("topstories/").orderByKey().limitToFirst(25))},fetchItem:function(b){return c(a.child("item/"+b))},fetchUser:function(b){return c(a.child("user/"+b))}}}]),angular.module("HackerNewsTabApp").config(["$routeProvider",function(a){a.when("/",{templateUrl:"views/main.html",controller:"MainCtrl"}).otherwise({redirectTo:"/"})}]);