               Search results: <span ng-bind="query"></span>
             </h3>
           </div>
-          <plunker-package-block click="openVersion(package, version)" package="package" ng-repeat="package in results"></plunker-package-block>
+          <plunker-package-block insert="insertPackage(package)" click="openVersion(package, version)" package="package" ng-repeat="package in results"></plunker-package-block>
           <p ng-hide="!results || results.length">No results found for {{query}}.</p>
           <p ng-hide="results && !results.loading">Searching for {{query}}.</p>
         </div>

            <li><i class="icon-download"></i><span ng-bind="package.bumps | shorten"></span></li>
          </ul>
          <a ng-click="click(package)" ng-bind="package.name"></a>
          <ul class="package-versions inline">
            <li ng-repeat="version in package.versions | orderBy:'-semver' | limitTo:3">
              <a class="label" ng-class="{'label-warning': version.unstable}" ng-click="click({package: package, version: version})" ng-bind="version.semver"></a>

              Popular packages
            </h3>
          </div>
          <plunker-package-block insert="insertPackage(package)" click="openVersion(package, version)" package="package" ng-repeat="package in popular"></plunker-package-block>
          <plunker-pager nolink="true" collection="popular" nav="popular.refresh(url)"></plunker-pager>
        </div>
        <div ng-switch-when="search">
